gnu: Add python2-apipkg.

* gnu/packages/python.scm (python2-apipkg): New variable.
This commit is contained in:
Christopher Allan Webber 2016-02-13 18:04:18 -08:00
parent af5a460222
commit e08739c3c6
1 changed files with 9 additions and 1 deletions

View File

@ -6850,7 +6850,15 @@ applications.")
package and greatly reduce the number of imports for your users. It is a small
pure Python module that works on virtually all Python versions.")
(home-page "https://bitbucket.org/hpk42/apipkg")
(license license:expat)))
(license license:expat)
(properties `((python2-variant . ,(delay python2-apipkg))))))
(define-public python2-apipkg
(package
(inherit (package-with-python2
(strip-python2-variant python-apipkg)))
(native-inputs
`(("python2-setuptools" ,python2-setuptools)))))
(define-public python-execnet
(package