guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/19: gnu: Add python-editor.


From: Christopher Allan Webber
Subject: 18/19: gnu: Add python-editor.
Date: Sat, 20 Feb 2016 02:23:53 +0000

cwebber pushed a commit to branch wip-mediagoblin
in repository guix.

commit 8d1d2aca89f0d67554332cf7d978b028fe6dc646
Author: Christopher Allan Webber <address@hidden>
Date:   Mon Feb 15 10:29:08 2016 -0800

    gnu: Add python-editor.
    
    * gnu/packages/python.scm (python-editor, python2-editor): New variables.
---
 gnu/packages/python.scm |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ed30958..30ae836 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8079,3 +8079,31 @@ ISO 8859, etc.).")
     (inherit (package-with-python2
               (strip-python2-variant python-translitcodec)))
     (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+
+(define-public python-editor
+  (package
+  (name "python-editor")
+  (version "0.5")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "python-editor" version))
+      (sha256
+        (base32
+          "1ypnpgvzpkbwsg4rdvy4sy51j28b5xq9v8pnkwxncn07vqz06p7n"))))
+  (build-system python-build-system)
+  (home-page
+    "https://github.com/fmoo/python-editor";)
+  (synopsis
+    "Programmatically open an editor, capture the result")
+  (description
+    "python-editor is a library that provides the editor module for
+programmatically interfacing with your system's $EDITOR.")
+  (license asl2.0)
+  (properties `((python2-variant . ,(delay python2-editor))))))
+
+(define-public python2-editor
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-editor)))
+    (inputs `(("python2-setuptools" ,python2-setuptools)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]