guix-commits
[Top][All Lists]
Advanced

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

01/08: gnu: Add python-attrs.


From: Ricardo Wurmus
Subject: 01/08: gnu: Add python-attrs.
Date: Tue, 10 Oct 2017 17:09:52 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit bb3b4b4ee98d15273c34a8bd7bf8e8a3a07d7390
Author: Troy Sankey <address@hidden>
Date:   Mon Feb 20 01:37:35 2017 -0500

    gnu: Add python-attrs.
    
    * gnu/packages/python.scm (python-attrs, python2-attrs): New variables.
    
    Co-authored-by: Ricardo Wurmus <address@hidden>
---
 gnu/packages/python.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 93bfe18..f4010b6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -22,7 +22,7 @@
 ;;; Copyright © 2016 Hartmut Goebel <address@hidden>
 ;;; Copyright © 2016 Daniel Pimentel <address@hidden>
 ;;; Copyright © 2016 Sou Bunnbu <address@hidden>
-;;; Copyright © 2016 Troy Sankey <address@hidden>
+;;; Copyright © 2016, 2017 Troy Sankey <address@hidden>
 ;;; Copyright © 2016, 2017 ng0 <address@hidden>
 ;;; Copyright © 2016 Dylan Jeffers <address@hidden@openmailbox.org>
 ;;; Copyright © 2016 David Craven <address@hidden>
@@ -14228,6 +14228,32 @@ Python.  It is based on Parsing Expression Grammars, 
PEG.  With pyPEG you can
 parse many formal languages.")
     (license license:gpl2)))
 
+(define-public python-attrs
+  (package
+    (name "python-attrs")
+    (version "17.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "attrs" version))
+              (sha256
+               (base32
+                "04gx08ikpk26wnq22f7l42gapcvk8iz1512r927k6sadz6cinkax"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-hypothesis" ,python-hypothesis)
+       ("python-zope-interface" ,python-zope-interface)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/python-attrs/attrs/";)
+    (synopsis "Attributes without boilerplate")
+    (description "@code{attrs} is a Python package with class decorators that
+ease the chores of implementing the most common attribute-related object
+protocols.")
+    (license license:expat)))
+
+(define-public python2-attrs
+  (package-with-python2 python-attrs))
+
 (define-public python2-cliapp
   (package
     (name "python2-cliapp")



reply via email to

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