guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add python-whatever.


From: Danny Milosavljevic
Subject: 01/03: gnu: Add python-whatever.
Date: Tue, 6 Feb 2018 06:13:36 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit 89c57efd788b6c72939977ad9122b91e557cab6d
Author: Danny Milosavljevic <address@hidden>
Date:   Tue Feb 6 10:35:12 2018 +0100

    gnu: Add python-whatever.
    
    * gnu/packages/python.scm (python-whatever, python2-whatever): New 
variables.
---
 gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d789fcf..7838207 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12448,3 +12448,34 @@ files, and Makefiles.")
 
 (define-public python2-gyp
   (package-with-python2 python-gyp))
+
+(define-public python-whatever
+  (package
+    (name "python-whatever")
+    (version "0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/Suor/whatever/archive/"; version
+                           ".tar.gz"))
+       (sha256
+        (base32
+         "1iqvnaf0zpc6b4rvbqq4xy45mszcscyzpzknv8wg6j84pbp22sap"))
+       (file-name (string-append name "-" version ".tar.gz"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+        (replace 'check
+          (lambda _
+            (invoke "py.test"))))))
+    (native-inputs
+     `(("python-pytest-3.0" ,python-pytest-3.0)))
+    (home-page "http://github.com/Suor/whatever";)
+    (synopsis "Make anonymous functions by partial application of operators")
+    (description "@code{whatever} provides an easy way to make anonymous
+functions by partial application of operators.")
+    (license license:bsd-3)))
+
+(define-public python2-whatever
+  (package-with-python2 python-whatever))



reply via email to

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