python3Packages.fastjsonschema: 2.15.1 -> 2.15.2
This commit is contained in:
parent
32356ce11b
commit
17113a7b69
@ -1,14 +1,15 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
# Check inputs
|
||||
, fetchpatch
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fastjsonschema";
|
||||
version = "2.15.1";
|
||||
version = "2.15.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.3";
|
||||
|
||||
@ -17,11 +18,25 @@ buildPythonPackage rec {
|
||||
repo = "python-fastjsonschema";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-ltxFJ3V5/bckusspQ5o0F4reMoB4KpYWPHF8ZNXGqVQ=";
|
||||
hash = "sha256-zrdQVFfLZxZRr9qvss4CI3LJK97xl+bY+AcPzcweYeU=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
||||
patches = [
|
||||
# Can be removed with the next release, https://github.com/horejsek/python-fastjsonschema/pull/134
|
||||
(fetchpatch {
|
||||
name = "fix-exception-name.patch";
|
||||
url = "https://github.com/horejsek/python-fastjsonschema/commit/f639dcba0299926d688e1d8d08a6a91bfe70ce8b.patch";
|
||||
sha256 = "sha256-yPV5ZNeyAobLrYf5QHanPsEomBPJ/7ZN2148R8NO4/U=";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
disabledTests = [
|
||||
"benchmark"
|
||||
# these tests require network access
|
||||
@ -29,10 +44,12 @@ buildPythonPackage rec {
|
||||
"definitions"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "fastjsonschema" ];
|
||||
pythonImportsCheck = [
|
||||
"fastjsonschema"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast JSON schema validator for Python.";
|
||||
description = "JSON schema validator for Python";
|
||||
homepage = "https://horejsek.github.io/python-fastjsonschema/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ drewrisinger ];
|
||||
|
Loading…
Reference in New Issue
Block a user