guix-patches
[Top][All Lists]
Advanced

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

bug#25808: [PATCH 1/8] gnu: Add python-attrs.


From: Troy Sankey
Subject: bug#25808: [PATCH 1/8] gnu: Add python-attrs.
Date: Mon, 20 Feb 2017 01:37:35 -0500

* gnu/packages/python.scm (python-attrs, python2-attrs): New variables.
---
 gnu/packages/python.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3e59b5892..e3904624c 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>
@@ -12708,3 +12708,25 @@ specified to apply on the key before comparison (e.g. 
@code{string.lower})).")
 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 "16.3.0")
+    (source
+      (origin
+        (method url-fetch)
+          (uri (pypi-uri "attrs" version))
+        (sha256
+          (base32
+            "1k1w8xg7mbd9r8624irnwnzlf3g8lqymba2sw6xz6diyf9vk2840"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/python-attrs/attrs/";)
+    (synopsis "Attributes Without Boilerplate")
+    (description "@code{attrs} is an MIT-licensed 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))
-- 
2.11.1






reply via email to

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