mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 18:49:14 -05:00
gnu: Add python-jsonschema-3.
* gnu/packages/python-xyz.scm (python-jsonschema-3): New variable.
This commit is contained in:
parent
92dd588b81
commit
6378c9bb68
1 changed files with 18 additions and 0 deletions
|
@ -4095,6 +4095,24 @@ (define-public python-jsonschema
|
|||
"Jsonschema is an implementation of JSON Schema for Python.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-jsonschema-3
|
||||
(package
|
||||
(inherit python-jsonschema)
|
||||
(version "3.2.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "jsonschema" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68"))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments python-jsonschema)
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(replace 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))))))
|
||||
|
||||
(define-public python-schema
|
||||
(package
|
||||
(name "python-schema")
|
||||
|
|
Loading…
Reference in a new issue