gnu: Add python-attr.

* gnu/packages/python.scm (python-attr): New variable.
This commit is contained in:
Nicolas Goaziou 2018-12-02 01:03:56 +01:00
parent 62c2cef05c
commit 5d7c66a519
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -14636,3 +14636,21 @@ (define-public python-wikidata
@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)))