2017-08-25 10:04:45 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jsonpointer
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsonpatch";
|
2020-11-29 14:04:32 +00:00
|
|
|
version = "1.27";
|
2017-08-25 10:04:45 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:32 +00:00
|
|
|
sha256 = "4d08af10d71723b5b2924da6ba90f273a4d1a5c6accfb605eb970cb2f9b29cf9";
|
2017-08-25 10:04:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# test files are missing
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ jsonpointer ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Library to apply JSON Patches according to RFC 6902";
|
|
|
|
homepage = "https://github.com/stefankoegl/python-json-patch";
|
|
|
|
license = lib.licenses.bsd2; # "Modified BSD license, says pypi"
|
|
|
|
};
|
|
|
|
}
|