Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 41 lines 871 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}: 12 13buildPythonPackage rec { 14 pname = "ete3"; 15 version = "3.1.3"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-BqO3+o7ZAYewdqjbvlsbYqzulCAdPG6CL1X0SWAe9vI="; 21 }; 22 23 doCheck = false; # Tests are (i) not 3.x compatible, (ii) broken under 2.7 24 pythonImportsCheck = [ "ete3" ]; 25 26 propagatedBuildInputs = 27 [ 28 six 29 numpy 30 ] 31 ++ lib.optional withTreeVisualization pyqt5 32 ++ lib.optional withXmlSupport lxml; 33 34 meta = with lib; { 35 description = "Python framework for the analysis and visualization of trees"; 36 mainProgram = "ete3"; 37 homepage = "http://etetoolkit.org/"; 38 license = licenses.gpl3Only; 39 maintainers = with maintainers; [ delehef ]; 40 }; 41}