summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pydot/default.nix')
-rw-r--r--pkgs/development/python-modules/pydot/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pydot/default.nix b/pkgs/development/python-modules/pydot/default.nix
new file mode 100644
index 000000000000..38123acd32ec
--- /dev/null
+++ b/pkgs/development/python-modules/pydot/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, chardet
+, pyparsing
+, graphviz
+}:
+
+buildPythonPackage rec {
+  pname = "pydot";
+  version = "1.2.3";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "edb5d3f249f97fbd9c4bb16959e61bc32ecf40eee1a9f6d27abe8d01c0a73502";
+  };
+  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";
+    licenses = with lib.licenses; [ mit ];
+  };
+}
\ No newline at end of file