diff mbox series

[bug#57540,RFC,v2,19/19] gnu: Add python-jsonschema-4.15.* gnu/packages/python-xyz.scm (python-jsonschema-4.15): New variable.

Message ID 8735d3vxrk.fsf@disroot.org
State Accepted
Headers show
Series [bug#57540] Add ocaml-elpi (a dependency of coq-mathcomp-analysis) | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Garek Dyszel Sept. 7, 2022, 6:34 p.m. UTC
* gnu/packages/python-xyz.scm (python-jsonschema-4.15): New variable.
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0e67adc95f..fd470652bc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3661,6 +3661,37 @@  (define-public python-jsonschema-next
            python-pyrsistent
            python-typing-extensions))))
 
+(define-public python-jsonschema-4.15
+  (package
+    (inherit python-jsonschema)
+    (name "python-jsonschema-4.15")
+    (version "4.15.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/python-jsonschema/jsonschema")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1yv01id6l0s1dq6khal9jvxh9dqivy394z04y6yr5lv8cimwcx2x"))))
+    (native-inputs (list python-pypa-build
+                         python-twisted
+                         python-hatchling
+                         python-pathspec
+                         python-pluggy-1.0
+                         python-editables
+                         python-hatch-vcs
+                         python-setuptools-scm-7
+                         python-hatch-fancy-pypi-readme))
+    (propagated-inputs (list python-attrs python-importlib-metadata
+                             python-pyrsistent python-typing-extensions
+                             python-hatch-vcs))
+    (arguments
+     (substitute-keyword-arguments
+         (package-arguments python-jsonschema-next)))
+    (home-page "https://github.com/python-jsonschema/jsonschema")))
+
 (define-public python-schema
   (package
     (name "python-schema")