mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
python.pkgs.jsonpatch: 1.11 -> 1.16
This commit is contained in:
parent
3efa08baea
commit
b101bdddac
26
pkgs/development/python-modules/jsonpatch/default.nix
Normal file
26
pkgs/development/python-modules/jsonpatch/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jsonpointer
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonpatch";
|
||||
version = "1.16";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f025c28a08ce747429ee746bb21796c3b6417ec82288f8fe6514db7398f2af8a";
|
||||
};
|
||||
|
||||
# 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"
|
||||
};
|
||||
}
|
@ -6785,22 +6785,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
jsonpatch = buildPythonPackage rec {
|
||||
name = "jsonpatch-1.11";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/j/jsonpatch/${name}.tar.gz";
|
||||
sha256 = "22d0bc0f5522a4a03dd9fb4c4cdf7c1f03256546c88be4c61e5ceabd22280e47";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ jsonpointer ];
|
||||
|
||||
meta = {
|
||||
description = "Library to apply JSON Patches according to RFC 6902";
|
||||
homepage = "https://github.com/stefankoegl/python-json-patch";
|
||||
license = stdenv.lib.licenses.bsd2; # "Modified BSD license, says pypi"
|
||||
};
|
||||
};
|
||||
jsonpatch = callPackage ../development/python-modules/jsonpatch { };
|
||||
|
||||
jsonpointer = buildPythonPackage rec {
|
||||
name = "jsonpointer-1.9";
|
||||
|
Loading…
Reference in New Issue
Block a user