nixpkgs/pkgs/development/python-modules/pydot/default.nix

27 lines
580 B
Nix
Raw Normal View History

2017-05-03 06:42:24 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, chardet
, pyparsing
, graphviz
}:
buildPythonPackage rec {
pname = "pydot";
version = "1.4.0";
2017-05-03 06:42:24 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "02yp2k7p1kh0azwd932jhvfc3nxxdv9dimh7hdgwdnmp05yms6cq";
2017-05-03 06:42:24 +00:00
};
checkInputs = [ chardet ];
# No tests in archive
doCheck = false;
propagatedBuildInputs = [pyparsing graphviz];
meta = {
homepage = https://github.com/erocarrera/pydot;
description = "Allows to easily create both directed and non directed graphs from Python";
license = lib.licenses.mit;
2017-05-03 06:42:24 +00:00
};
}