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

26 lines
577 B
Nix
Raw Normal View History

2017-08-25 11:04:45 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, jsonpointer
}:
buildPythonPackage rec {
pname = "jsonpatch";
2018-04-04 20:09:43 +02:00
version = "1.23";
2017-08-25 11:04:45 +02:00
src = fetchPypi {
inherit pname version;
2018-04-04 20:09:43 +02:00
sha256 = "49f29cab70e9068db3b1dc6b656cbe2ee4edf7dfe9bf5a0055f17a4b6804a4b9";
2017-08-25 11:04:45 +02: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"
};
}