pythonPackages.jsonschema_3: init at 3.2.0

Copied from 2043dbb6fa.
This commit is contained in:
Zhaofeng Li
2022-09-26 18:31:12 -06:00
parent fde244a8c7
commit b84f4e94d1
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, attrs
, functools32
, importlib-metadata
, mock
, nose
, pyperf
, pyrsistent
, setuptools-scm
, twisted
, vcversioner
}:
buildPythonPackage rec {
pname = "jsonschema";
version = "3.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ attrs importlib-metadata functools32 pyrsistent ];
checkInputs = [ nose mock pyperf twisted vcversioner ];
# zope namespace collides on py27
doCheck = !isPy27;
checkPhase = ''
nosetests
'';
meta = with lib; {
homepage = "https://github.com/Julian/jsonschema";
description = "An implementation of JSON Schema validation for Python";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
};
}
+2
View File
@@ -4829,6 +4829,8 @@ in {
jsonschema = callPackage ../development/python-modules/jsonschema { };
jsonschema_3 = callPackage ../development/python-modules/jsonschema/3_x.nix { };
jsonstreams = callPackage ../development/python-modules/jsonstreams { };
json-tricks = callPackage ../development/python-modules/json-tricks { };