guix-patches
[Top][All Lists]
Advanced

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

[bug#58012] [core-updates PATCH 3/7] gnu: Add python-jschema-to-python.


From: Greg Hogan
Subject: [bug#58012] [core-updates PATCH 3/7] gnu: Add python-jschema-to-python.
Date: Thu, 22 Sep 2022 19:44:06 +0000

* gnu/packages/python-web.scm (python-jschema-to-python): New variable.
---
 gnu/packages/python-web.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index be780e5d3c..6a7c4be531 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -757,6 +757,25 @@ (define-public python-cfn-lint
 for resource properties and best practices.")
     (license license:expat)))
 
+(define-public python-jschema-to-python
+  (package
+    (name "python-jschema-to-python")
+    (version "1.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "jschema_to_python" version))
+              (sha256
+               (base32
+                "14cvaiwm56g0v6p7zviikaa5i9ln3yqy910jmp60hirhbpz19zvn"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-attrs python-jsonpickle python-pbr))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/microsoft/jschema-to-python";)
+    (synopsis "Generate Python classes from a JSON schema.")
+    (description "This package generates source code for Python classes from a
+@url{http://jschema.org,JSchema} JSON schema.")
+    (license license:expat)))
+
 (define-public python-falcon
   (package
     (name "python-falcon")
-- 
2.37.3






reply via email to

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