pythonPackages.jsonschema: 2.0.0 -> 2.4.0
This commit is contained in:
parent
c2d0028560
commit
2172031655
@ -3308,16 +3308,20 @@ rec {
|
|||||||
});
|
});
|
||||||
|
|
||||||
jsonschema = buildPythonPackage (rec {
|
jsonschema = buildPythonPackage (rec {
|
||||||
version = "2.0.0";
|
version = "2.4.0";
|
||||||
name = "jsonschema-${version}";
|
name = "jsonschema-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/j/jsonschema/jsonschema-${version}.tar.gz";
|
url = "https://pypi.python.org/packages/source/j/jsonschema/jsonschema-${version}.tar.gz";
|
||||||
md5 = "1793d97a668760ef540fadd342aa08e5";
|
md5 = "661f85c3d23094afbb9ac3c0673840bf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nose mock ];
|
buildInputs = [ nose mock ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace jsonschema/tests/test_jsonschema_test_suite.py --replace "python" "${python}/bin/${python.executable}"
|
||||||
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
nosetests
|
nosetests
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user