1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
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-30 11:23:50 +00:00
version = "1.20";
2017-08-25 10:04:45 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-12-30 11:23:50 +00:00
sha256 = "b12594a0cfe634bdd2a5c027250af2dd84932d493568e88ae722871edc3eb02d";
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"
};
}