nixpkgs-suyu/pkgs/development/python-modules/jsonpatch/default.nix
2019-10-27 16:26:45 +01:00

25 lines
577 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jsonpointer
}:
buildPythonPackage rec {
pname = "jsonpatch";
version = "1.24";
src = fetchPypi {
inherit pname version;
sha256 = "cbb72f8bf35260628aea6b508a107245f757d1ec839a19c34349985e2c05645a";
};
# 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"
};
}