2017-05-03 06:42:24 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, chardet
|
|
|
|
, pyparsing
|
|
|
|
, graphviz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pydot";
|
2018-12-14 20:05:38 +00:00
|
|
|
version = "1.4.0";
|
2017-05-03 06:42:24 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-14 20:05:38 +00:00
|
|
|
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";
|
2017-12-05 22:20:11 +00:00
|
|
|
license = lib.licenses.mit;
|
2017-05-03 06:42:24 +00:00
|
|
|
};
|
2017-12-05 22:20:11 +00:00
|
|
|
}
|