[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: Add python-jsonschema-3.
From: |
guix-commits |
Subject: |
01/06: gnu: Add python-jsonschema-3. |
Date: |
Mon, 24 Apr 2023 23:49:36 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 6378c9bb681d9ad38333ae11a9694316a447edaf
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 24 19:52:14 2023 -0400
gnu: Add python-jsonschema-3.
* gnu/packages/python-xyz.scm (python-jsonschema-3): New variable.
---
gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
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")
- branch core-updates updated (92dd588b81 -> 7fc2c442c8), guix-commits, 2023/04/24
- 02/06: gnu: docker-compose: Use python-jsonschema-3 to fix build., guix-commits, 2023/04/24
- 01/06: gnu: Add python-jsonschema-3.,
guix-commits <=
- 03/06: gnu: python-pdbpp: Update to 0.10.3-0.e1c2e34., guix-commits, 2023/04/24
- 05/06: gnu: python-tlsh: Fix build., guix-commits, 2023/04/24
- 06/06: gnu: gnucash: Update help installation prefix., guix-commits, 2023/04/24
- 04/06: gnu: sicp: Fix build., guix-commits, 2023/04/24