26 lines
609 B
Nix
26 lines
609 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jsonpointer
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jsonpatch";
|
|
version = "1.21";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "11f5ffdf543a83047a2f54ac28f8caad7f34724cb1ea26b27547fd974f1a2153";
|
|
};
|
|
|
|
# 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"
|
|
};
|
|
}
|