about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pydotplus/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pydotplus/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pydotplus/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pydotplus/default.nix b/nixpkgs/pkgs/development/python-modules/pydotplus/default.nix
new file mode 100644
index 000000000000..03b594a131a0
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/pydotplus/default.nix
@@ -0,0 +1,28 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, pyparsing
+, graphviz
+}:
+
+buildPythonPackage rec {
+  pname = "pydotplus";
+  version = "2.0.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1i05cnk3yh722fdyaq0asr7z9xf7v7ikbmnpxa8j6pdqx6g5xs4i";
+  };
+
+  propagatedBuildInputs = [
+    pyparsing
+    graphviz
+  ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/erocarrera/pydot;
+    description = "An improved version of the old pydot project that provides a Python Interface to Graphviz’s Dot language";
+    license = licenses.mit;
+    maintainers = with maintainers; [ ashgillman ];
+  };
+}