[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: Add python-attr.
From: |
guix-commits |
Subject: |
03/04: gnu: Add python-attr. |
Date: |
Sat, 1 Dec 2018 19:21:36 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 5d7c66a5197b77eefb4c1d4c5d672e81d5a9ea4e
Author: Nicolas Goaziou <address@hidden>
Date: Sun Dec 2 01:03:56 2018 +0100
gnu: Add python-attr.
* gnu/packages/python.scm (python-attr): New variable.
---
gnu/packages/python.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 535593c..cab0112 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14636,3 +14636,21 @@ RFC 8265 and RFC 8266.")
@url{https://www.wikidata.org/, Wikidata}.")
(properties '((upstream-name . "Wikidata")))
(license license:gpl3+)))
+
+(define-public python-attr
+ (package
+ (name "python-attr")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "attr" version))
+ (sha256
+ (base32
+ "0pbpskvxp5hzdvcaf766ljwpckshir8sf7z6jqji6zyib20594ch"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/denis-ryzhkov/attr")
+ (synopsis "Decorator for attributes of target function or class")
+ (description "Simple decorator to set attributes of target function or
+class in a @acronym{DRY, Don't Repeat Yourself} way.")
+ (license license:expat)))