at master 925 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 six 35 numpy 36 legacy-cgi 37 ] 38 ++ lib.optional withTreeVisualization pyqt5 39 ++ lib.optional withXmlSupport lxml; 40 41 meta = { 42 description = "Python framework for the analysis and visualization of trees"; 43 mainProgram = "ete3"; 44 homepage = "http://etetoolkit.org/"; 45 license = lib.licenses.gpl3Only; 46 maintainers = with lib.maintainers; [ delehef ]; 47 }; 48}