Patchwork [09/11] gnu: Add python-straight-plugin.

login
register
mail settings
Submitter ng0
Date Dec. 14, 2016, 12:25 p.m.
Message ID <20161214122526.4458-10-ng0@libertad.pw>
Download mbox | patch
Permalink /patch/18447/
State New
Headers show

Comments

ng0 - Dec. 14, 2016, 12:25 p.m.
* gnu/packages/python.scm (python-straight-plugin): New variable.
---
 gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e7e10dc90..b1bfc4850 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6026,6 +6026,33 @@  term.js Javascript terminal emulator library.")
           ,python2-backport-ssl-match-hostname)
           ,@(package-propagated-inputs terminado))))))
 
+(define-public python-straight-plugin
+  (package
+    (name "python-straight-plugin")
+    (version "1.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/ironfroggy/"
+                           "straight.plugin/archive/"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0yy7ymng4d2dgqg81dz48b176zarbk1il7ig1m1q8zl8l559n817"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/ironfroggy/straight.plugin")
+    (synopsis "Simple namespaced plugin facility")
+    (description
+     "Straight Plugin provides a type of plugin you can create
+from almost any existing Python modules, and an easy way for
+outside developers to add functionality and customization to
+your projects with their own plugins.")
+    (license license:expat)))
+
+(define-public python2-straight-plugin
+  (package-with-python2 python-straight-plugin))
+
 (define-public python-fonttools
   (package
     (name "python-fonttools")