about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-editor/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/python-editor/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/python-editor/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/python-editor/default.nix b/nixpkgs/pkgs/development/python-modules/python-editor/default.nix
new file mode 100644
index 000000000000..94cdd8029baa
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/python-editor/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, buildPythonPackage, fetchPypi }:
+
+buildPythonPackage rec {
+  version = "1.0.3";
+  pname = "python-editor";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "a3c066acee22a1c94f63938341d4fb374e3fdd69366ed6603d7b24bed1efc565";
+  };
+
+  # No proper tests
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "A library that provides the `editor` module for programmatically";
+    homepage = https://github.com/fmoo/python-editor;
+    license = licenses.asl20;
+  };
+}