diff --git a/pkgs/development/python-modules/ete3/default.nix b/pkgs/development/python-modules/ete3/default.nix index 282a0546431f..b16679376a53 100644 --- a/pkgs/development/python-modules/ete3/default.nix +++ b/pkgs/development/python-modules/ete3/default.nix @@ -8,34 +8,42 @@ lxml, withXmlSupport ? false, pyqt5, + setuptools, + legacy-cgi, }: buildPythonPackage rec { pname = "ete3"; version = "3.1.3"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-BqO3+o7ZAYewdqjbvlsbYqzulCAdPG6CL1X0SWAe9vI="; }; + build-system = [ + setuptools + ]; + doCheck = false; # Tests are (i) not 3.x compatible, (ii) broken under 2.7 + pythonImportsCheck = [ "ete3" ]; - propagatedBuildInputs = + dependencies = [ six numpy + legacy-cgi ] ++ lib.optional withTreeVisualization pyqt5 ++ lib.optional withXmlSupport lxml; - meta = with lib; { + meta = { description = "Python framework for the analysis and visualization of trees"; mainProgram = "ete3"; homepage = "http://etetoolkit.org/"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ delehef ]; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ delehef ]; }; }