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
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "92d2e2d15531d00710f2d6fb5540d2acabc5399d464f2f20d5d21073af241eb6";
16 };
17 checkInputs = [ chardet ];
18 # No tests in archive
19 doCheck = false;
20 propagatedBuildInputs = [pyparsing graphviz];
21 meta = {
22 homepage = https://github.com/erocarrera/pydot;
23 description = "Allows to easily create both directed and non directed graphs from Python";
24 license = lib.licenses.mit;
25 };
26}