aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-03-20 21:08:43 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-03-20 22:41:58 +0100
commit0266a6a23b880474d7234add38e528963f5b7c34 (patch)
treeb9be9a2e1f79b0fac93fc5d6788ad7ee3f4963dd
parent830dab870ab1d4a4ec1127a877a43d19f86c4f7f (diff)
downloadguix-0266a6a23b880474d7234add38e528963f5b7c34.tar
guix-0266a6a23b880474d7234add38e528963f5b7c34.tar.gz
gnu: python-clikit: Declare Python 2 variant.
* gnu/packages/python-xyz.scm (python-clikit)[properties]: New field. (python2-clikit): New public variable.
-rw-r--r--gnu/packages/python-xyz.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8271e1ff7e..c3b06a58aa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11125,8 +11125,18 @@ more, possibly remote, memcached servers.")
(description
"CliKit is a group of utilities to build testable command line
interfaces.")
+ (properties `((python2-variant . ,(delay python2-clikit))))
(license license:expat)))
+(define-public python2-clikit
+ (let ((base (package-with-python2 (strip-python2-variant python-clikit))))
+ (package/inherit
+ base
+ (propagated-inputs
+ `(("python-enum34" ,python2-enum34)
+ ("python-typing" ,python2-typing)
+ ,@(package-propagated-inputs base))))))
+
(define-public python-msgpack-python
(package
(name "python-msgpack-python")