blob: 962ab4d756c7ac75780269e6472bb0f0ff35c727 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
jsonpointer,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jsonpatch";
version = "1.33";
format = "setuptools";
src = fetchFromGitHub {
owner = "stefankoegl";
repo = "python-json-patch";
tag = "v${version}";
hash = "sha256-JHBB64LExzHQVoFF2xcsqGlNWX/YeEBa1M/TmfeQLWI=";
};
propagatedBuildInputs = [ jsonpointer ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jsonpatch" ];
enabledTestPaths = [ "tests.py" ];
meta = {
description = "Library to apply JSON Patches according to RFC 6902";
homepage = "https://github.com/stefankoegl/python-json-patch";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|