at 25.11-pre 941 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 numpy, 6 six, 7 withTreeVisualization ? false, 8 lxml, 9 withXmlSupport ? false, 10 pyqt5, 11 setuptools, 12 legacy-cgi, 13}: 14 15buildPythonPackage rec { 16 pname = "ete3"; 17 version = "3.1.3"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-BqO3+o7ZAYewdqjbvlsbYqzulCAdPG6CL1X0SWAe9vI="; 23 }; 24 25 build-system = [ 26 setuptools 27 ]; 28 29 doCheck = false; # Tests are (i) not 3.x compatible, (ii) broken under 2.7 30 31 pythonImportsCheck = [ "ete3" ]; 32 33 dependencies = 34 [ 35 six 36 numpy 37 legacy-cgi 38 ] 39 ++ lib.optional withTreeVisualization pyqt5 40 ++ lib.optional withXmlSupport lxml; 41 42 meta = { 43 description = "Python framework for the analysis and visualization of trees"; 44 mainProgram = "ete3"; 45 homepage = "http://etetoolkit.org/"; 46 license = lib.licenses.gpl3Only; 47 maintainers = with lib.maintainers; [ delehef ]; 48 }; 49}