depot/third_party/nixpkgs/pkgs/development/python-modules/ete3/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

36 lines
803 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, numpy
, six
, withTreeVisualization ? false
, lxml
, withXmlSupport ? false
, pyqt5
}:
buildPythonPackage rec {
pname = "ete3";
version = "3.1.3";
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 = "A Python framework for the analysis and visualization of trees";
homepage = "http://etetoolkit.org/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ delehef ];
};
}