2017-05-03 08:42:24 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, chardet
|
|
|
|
, pyparsing
|
|
|
|
, graphviz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pydot";
|
2017-12-30 12:26:02 +01:00
|
|
|
version = "1.2.4";
|
2017-05-03 08:42:24 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 12:26:02 +01:00
|
|
|
sha256 = "92d2e2d15531d00710f2d6fb5540d2acabc5399d464f2f20d5d21073af241eb6";
|
2017-05-03 08:42:24 +02: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 23:20:11 +01:00
|
|
|
license = lib.licenses.mit;
|
2017-05-03 08:42:24 +02:00
|
|
|
};
|
2017-12-05 23:20:11 +01:00
|
|
|
}
|