gnu: Add python2-enum.

* gnu/packages/python.scm (python2-enum): New variable.
This commit is contained in:
Marius Bakke 2017-07-31 03:59:55 +02:00
parent 3e6218b2dd
commit a6c6a59faf
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 22 additions and 0 deletions

View File

@ -1573,6 +1573,28 @@ bug tracker.")
(home-page "http://www.liquidx.net/pybugz/") (home-page "http://www.liquidx.net/pybugz/")
(license license:gpl2))) (license license:gpl2)))
(define-public python2-enum
(package
(name "python2-enum")
(version "0.4.6")
(source (origin
(method url-fetch)
(uri (pypi-uri "enum" version))
(sha256
(base32
"13lk3yrwj42vl30kw3c194f739nrfrdg64s6i0v2p636n4k8brsl"))))
(build-system python-build-system)
(arguments
`(#:python ,python-2))
(home-page "http://pypi.python.org/pypi/enum/")
(synopsis "Robust enumerated type support in Python")
(description
"This provides a module for robust enumerations in Python. It has
been superseded by the Python standard library and is provided only for
compatibility.")
;; Choice of either license.
(license (list license:gpl3+ license:psfl))))
(define-public python-enum34 (define-public python-enum34
(package (package
(name "python-enum34") (name "python-enum34")