Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, jsonpointer 5}: 6 7buildPythonPackage rec { 8 pname = "jsonpatch"; 9 version = "1.16"; 10 name = "${pname}-${version}"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "f025c28a08ce747429ee746bb21796c3b6417ec82288f8fe6514db7398f2af8a"; 15 }; 16 17 # test files are missing 18 doCheck = false; 19 propagatedBuildInputs = [ jsonpointer ]; 20 21 meta = { 22 description = "Library to apply JSON Patches according to RFC 6902"; 23 homepage = "https://github.com/stefankoegl/python-json-patch"; 24 license = lib.licenses.bsd2; # "Modified BSD license, says pypi" 25 }; 26}