Skip to content

Commit 53c5798

Browse files
committed
python313Packages.ete3: fix build
1 parent c1bd12c commit 53c5798

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

pkgs/development/python-modules/ete3/default.nix

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,42 @@
88
lxml,
99
withXmlSupport ? false,
1010
pyqt5,
11+
setuptools,
12+
legacy-cgi,
1113
}:
1214

1315
buildPythonPackage rec {
1416
pname = "ete3";
1517
version = "3.1.3";
16-
format = "setuptools";
18+
pyproject = true;
1719

1820
src = fetchPypi {
1921
inherit pname version;
2022
hash = "sha256-BqO3+o7ZAYewdqjbvlsbYqzulCAdPG6CL1X0SWAe9vI=";
2123
};
2224

25+
build-system = [
26+
setuptools
27+
];
28+
2329
doCheck = false; # Tests are (i) not 3.x compatible, (ii) broken under 2.7
30+
2431
pythonImportsCheck = [ "ete3" ];
2532

26-
propagatedBuildInputs =
33+
dependencies =
2734
[
2835
six
2936
numpy
37+
legacy-cgi
3038
]
3139
++ lib.optional withTreeVisualization pyqt5
3240
++ lib.optional withXmlSupport lxml;
3341

34-
meta = with lib; {
42+
meta = {
3543
description = "Python framework for the analysis and visualization of trees";
3644
mainProgram = "ete3";
3745
homepage = "http://etetoolkit.org/";
38-
license = licenses.gpl3Only;
39-
maintainers = with maintainers; [ delehef ];
46+
license = lib.licenses.gpl3Only;
47+
maintainers = with lib.maintainers; [ delehef ];
4048
};
4149
}

0 commit comments

Comments
 (0)