1{ lib
2, buildPythonPackage
3, fetchPypi
4, chardet
5, pyparsing
6, graphviz
7}:
8
9buildPythonPackage rec {
10 pname = "pydot";
11 version = "1.2.3";
12 name = "${pname}-${version}";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "edb5d3f249f97fbd9c4bb16959e61bc32ecf40eee1a9f6d27abe8d01c0a73502";
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 licenses = with lib.licenses; [ mit ];
26 };
27}