me
/
guix
Archived
1
0
Fork 0

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>
master
zimoun 2022-04-14 13:10:36 +02:00 committed by Ludovic Courtès
parent ff12cf5e07
commit bf10421a67
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 12 additions and 0 deletions

View File

@ -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