2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jsonpointer
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsonpatch";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.26";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "e45df18b0ab7df1925f20671bbc3f6bd0b4b556fb4b9c5d97684b0a7eac01744";
|
2020-04-24 23:36:52 +00: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"
|
|
|
|
};
|
|
|
|
}
|