diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-04-24 19:52:14 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-04-24 20:01:02 -0400 |
commit | 6378c9bb681d9ad38333ae11a9694316a447edaf (patch) | |
tree | bc8887cc4d24889c4ed0d03c19709be338ce0191 | |
parent | 92dd588b81e2b07eff8a083e998224963cfe2959 (diff) | |
download | guix-6378c9bb681d9ad38333ae11a9694316a447edaf.tar guix-6378c9bb681d9ad38333ae11a9694316a447edaf.tar.gz |
gnu: Add python-jsonschema-3.
* gnu/packages/python-xyz.scm (python-jsonschema-3): New variable.
-rw-r--r-- | gnu/packages/python-xyz.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d514f2117f..d0b52d316a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4095,6 +4095,24 @@ compare, diff, and patch JSON and JSON-like structures in Python.") "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") |