Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 27 lines 624 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, chardet 5, pyparsing 6, graphviz 7}: 8 9buildPythonPackage rec { 10 pname = "pydot"; 11 version = "1.2.4"; 12 name = "${pname}-${version}"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "92d2e2d15531d00710f2d6fb5540d2acabc5399d464f2f20d5d21073af241eb6"; 17 }; 18 checkInputs = [ chardet ]; 19 # No tests in archive 20 doCheck = false; 21 propagatedBuildInputs = [pyparsing graphviz]; 22 meta = { 23 homepage = https://github.com/erocarrera/pydot; 24 description = "Allows to easily create both directed and non directed graphs from Python"; 25 license = lib.licenses.mit; 26 }; 27}