3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jsonpatch/default.nix

27 lines
609 B
Nix
Raw Normal View History

2017-08-25 10:04:45 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, jsonpointer
}:
buildPythonPackage rec {
pname = "jsonpatch";
2017-12-31 09:56:39 +00:00
version = "1.21";
2017-08-25 10:04:45 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-12-31 09:56:39 +00:00
sha256 = "11f5ffdf543a83047a2f54ac28f8caad7f34724cb1ea26b27547fd974f1a2153";
2017-08-25 10:04:45 +01: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"
};
}