Files
nixpkgs/pkgs/development/python-modules/ete3/default.nix
T
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

40 lines
865 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPy3k,
numpy,
six,
withTreeVisualization ? false,
lxml,
withXmlSupport ? false,
pyqt5,
}:
buildPythonPackage rec {
pname = "ete3";
version = "3.1.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-BqO3+o7ZAYewdqjbvlsbYqzulCAdPG6CL1X0SWAe9vI=";
};
doCheck = false; # Tests are (i) not 3.x compatible, (ii) broken under 2.7
pythonImportsCheck = [ "ete3" ];
propagatedBuildInputs = [
six
numpy
] ++ lib.optional withTreeVisualization pyqt5 ++ lib.optional withXmlSupport lxml;
meta = with lib; {
description = "Python framework for the analysis and visualization of trees";
mainProgram = "ete3";
homepage = "http://etetoolkit.org/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ delehef ];
};
}