mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-jsonschema: Define 'python2-variant'.
* gnu/packages/python.scm (python-jsonschema)[properties]: New field. (python2-jsonschema): Use 'strip-python2-variant'. * gnu/packages/openstack.scm (python2-tempest-lib): Take the result of 'package-with-python2' directly.
This commit is contained in:
parent
519e2f4fde
commit
a14600ecfa
2 changed files with 5 additions and 8 deletions
|
@ -2241,10 +2241,12 @@ version numbers.")
|
|||
(synopsis "Implementation of JSON Schema for Python")
|
||||
(description
|
||||
"Jsonschema is an implementation of JSON Schema for Python.")
|
||||
(license license:expat)))
|
||||
(license license:expat)
|
||||
(properties `((python2-variant . ,(delay python2-jsonschema))))))
|
||||
|
||||
(define-public python2-jsonschema
|
||||
(let ((jsonschema (package-with-python2 python-jsonschema)))
|
||||
(let ((jsonschema (package-with-python2
|
||||
(strip-python2-variant python-jsonschema))))
|
||||
(package (inherit jsonschema)
|
||||
(inputs
|
||||
`(("python2-functools32" ,python2-functools32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue