guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

107/361: gnu: Add python-jsonschema-path.


From: guix-commits
Subject: 107/361: gnu: Add python-jsonschema-path.
Date: Fri, 22 Nov 2024 06:00:22 -0500 (EST)

andreas pushed a commit to branch python-team
in repository guix.

commit 09ad363fa43ce2372878bee9fae6cd6e6a0ac57c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 8 00:29:08 2024 +0200

    gnu: Add python-jsonschema-path.
    
    * gnu/packages/python-xyz.scm (python-jsonschema-path): New variable.
    
    Change-Id: Icda558659ea77f040eedb3e7f8605b50b3aaca37
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ba09b656c8..cc6e086187 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6061,6 +6061,37 @@ and convert DDL to BigQuery JSON schema.")
      (list python-setuptools-scm python-twisted
            python-setuptools python-wheel))))
 
+(define-public python-jsonschema-path
+  (package
+    (name "python-jsonschema-path")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jsonschema_path" version))
+       (sha256
+        (base32 "129rb8y2bj2wwps8vs3z1qav006k7wz2myx5j6dnxqs1yfmsn3ad"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? #false  ;there are none
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'relax-requirements
+           (lambda _
+             (substitute* "pyproject.toml"
+               (("referencing = \">=0.28.0,<0.32.0\"")
+                "referencing = \">=0.28.0\"")))))))
+    (propagated-inputs (list python-pathable python-pyyaml python-referencing
+                             python-requests))
+    (native-inputs (list python-poetry-core))
+    (home-page "https://github.com/p1c2u/jsonschema-path";)
+    (synopsis "JSONSchema Spec with object-oriented paths")
+    (description "This package implements object-oriented JSONSchema.  It lets
+you traverse a schema like paths and access a schema on demand with separate
+dereferencing accessor layer.")
+    (license license:asl2.0)))
+
 (define-public python-jsonschema-specifications
   (package
     (name "python-jsonschema-specifications")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]