nixpkgs/pkgs/development/python-modules/jsonpatch/default.nix

26 lines
577 B
Nix
Raw Normal View History

2017-08-25 09:04:45 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, jsonpointer
}:
buildPythonPackage rec {
pname = "jsonpatch";
version = "1.32";
2017-08-25 09:04:45 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "b6ddfe6c3db30d81a96aaeceb6baf916094ffa23d7dd5fa2c13e13f8b6e600c2";
2017-08-25 09:04:45 +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"
};
}