Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
925 B
Nix
49 lines
925 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
numpy,
|
|
six,
|
|
withTreeVisualization ? false,
|
|
lxml,
|
|
withXmlSupport ? false,
|
|
pyqt5,
|
|
setuptools,
|
|
legacy-cgi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ete3";
|
|
version = "3.1.3";
|
|
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" ];
|
|
|
|
dependencies = [
|
|
six
|
|
numpy
|
|
legacy-cgi
|
|
]
|
|
++ lib.optional withTreeVisualization pyqt5
|
|
++ lib.optional withXmlSupport lxml;
|
|
|
|
meta = {
|
|
description = "Python framework for the analysis and visualization of trees";
|
|
mainProgram = "ete3";
|
|
homepage = "http://etetoolkit.org/";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ delehef ];
|
|
};
|
|
}
|