[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: gnu: Add python-fastjsonschema.
From: |
guix-commits |
Subject: |
04/12: gnu: Add python-fastjsonschema. |
Date: |
Mon, 26 Apr 2021 04:37:49 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit 2bcaf11d7cdd6825aa9b83d5338c4a35d5715997
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Tue Apr 20 09:15:04 2021 +0200
gnu: Add python-fastjsonschema.
* gnu/packages/python-xyz.scm (python-fastjsonschema): New variable.
---
gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3a9eee2..2dbbbb3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10372,6 +10372,45 @@ Debian-related files, such as:
JSON Reference and JSON Pointer.")
(license license:bsd-3)))
+(define-public python-fastjsonschema
+ (package
+ (name "python-fastjsonschema")
+ (version "2.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fastjsonschema" version))
+ (sha256
+ (base32
+ "0xknp399gpdjf08lrq2yvv66s7nsc51fgbm6vph7vyyg1ckbmv71"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; Fail with a strange backtrace ending in importlib.
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "-m" "not benchmark")))))))
+ (native-inputs
+ `(("python-colorama" ,python-colorama)
+ ("python-json-spec" ,python-json-spec)
+ ("python-jsonschema" ,python-jsonschema)
+ ("python-pylint" ,python-pylint)
+ ("python-pytest" ,python-pytest-6)
+ ("python-pytest-benchmark"
+ ,python-pytest-benchmark)
+ ("python-pytest-cache" ,python-pytest-cache)
+ ("python-validictory" ,python-validictory)))
+ (home-page
+ "https://github.com/horejsek/python-fastjsonschema")
+ (synopsis
+ "Fast Python implementation of JSON schema")
+ (description
+ "This library implements validation of JSON documents by JSON schema for
+drafts 04, 06 and 07.")
+ (license license:bsd-3)))
+
(define-public python-nbformat
(package
(name "python-nbformat")
- branch master updated (2ff36e4 -> 2209e5c), guix-commits, 2021/04/26
- 01/12: gnu: Move search path JUPYTER_PATH., guix-commits, 2021/04/26
- 02/12: gnu: python-jupyter-core: Enable tests., guix-commits, 2021/04/26
- 05/12: gnu: python-nbformat: Enable tests., guix-commits, 2021/04/26
- 06/12: gnu: Add python-jupyter-client-bootstrap., guix-commits, 2021/04/26
- 07/12: gnu: Add python-ipykernel-bootstrap., guix-commits, 2021/04/26
- 10/12: gnu: Add python-pytest-dependency., guix-commits, 2021/04/26
- 11/12: gnu: python-nbconvert: Enable more tests., guix-commits, 2021/04/26
- 08/12: gnu: python-jupyter-client: Enable tests., guix-commits, 2021/04/26
- 03/12: gnu: Add python-json-spec., guix-commits, 2021/04/26
- 04/12: gnu: Add python-fastjsonschema.,
guix-commits <=
- 09/12: gnu: python-ipykernel: Add missing inputs., guix-commits, 2021/04/26
- 12/12: gnu: python-notebook: Fix tests., guix-commits, 2021/04/26