summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2022-04-14 13:10:36 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-27 23:22:43 +0200
commitbf10421a67d308a0b306e27a4ff1576a491362a2 (patch)
tree6ad945a5acdc1c8467e751bbfa11c4730f89fc51 /gnu/packages
parentff12cf5e0702757661f870b2679a4c5fecc714b9 (diff)
gnu: python-pyyaml: Reintroduce 5.4.
* gnu/packages/python-xyz.scm (python-pyyaml-5): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index afb80171a5..f8e599a453 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3930,6 +3930,18 @@ provides Python-specific tags that represent an arbitrary Python object.")
(license license:expat)
(properties `((python2-variant . ,(delay python2-pyyaml))))))
+(define-public python-pyyaml-5
+ (package
+ (inherit python-pyyaml)
+ (version "5.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyYAML" version))
+ (sha256
+ (base32
+ "0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0"))))))
+
(define-public python2-pyyaml
(let ((base (package-with-python2 (strip-python2-variant python-pyyaml))))
(package