1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, numpy
6, six
7, withTreeVisualization ? false
8, lxml
9, withXmlSupport ? false
10, pyqt5
11}:
12
13buildPythonPackage rec {
14 pname = "ete3";
15 version = "3.1.3";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "sha256-BqO3+o7ZAYewdqjbvlsbYqzulCAdPG6CL1X0SWAe9vI=";
20 };
21
22
23 doCheck = false; # Tests are (i) not 3.x compatible, (ii) broken under 2.7
24 pythonImportsCheck = [ "ete3" ];
25
26 propagatedBuildInputs = [ six numpy ]
27 ++ lib.optional withTreeVisualization pyqt5
28 ++ lib.optional withXmlSupport lxml;
29
30 meta = with lib; {
31 description = "A Python framework for the analysis and visualization of trees";
32 homepage = "http://etetoolkit.org/";
33 license = licenses.gpl3Only;
34 maintainers = with maintainers; [ delehef ];
35 };
36}