rekado pushed a commit to branch master in repository guix. commit bb3b4b4ee98d15273c34a8bd7bf8e8a3a07d7390 Author: Troy Sankey <sankey...@gmail.com> 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 <rek...@elephly.net> --- 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 <h.goe...@crazy-compilers.com> ;;; Copyright © 2016 Daniel Pimentel <d...@d4n1.org> ;;; Copyright © 2016 Sou Bunnbu <iyzs...@gmail.com> -;;; Copyright © 2016 Troy Sankey <sankey...@gmail.com> +;;; Copyright © 2016, 2017 Troy Sankey <sankey...@gmail.com> ;;; Copyright © 2016, 2017 ng0 <contact....@cryptolab.net> ;;; Copyright © 2016 Dylan Jeffers <sapientech@sapient...@openmailbox.org> ;;; Copyright © 2016 David Craven <da...@craven.ch> @@ -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")