26 lines
577 B
Nix
26 lines
577 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jsonpointer
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jsonpatch";
|
|
version = "1.25";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ddc0f7628b8bfdd62e3cbfbc24ca6671b0b6265b50d186c2cf3659dc0f78fd6a";
|
|
};
|
|
|
|
# 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"
|
|
};
|
|
}
|