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