1{ lib
2, buildPythonPackage
3, fetchPypi
4, jsonschema
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "jsonmerge";
10 version = "1.9.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-otH4ACHFwdcKSeMfhitfBo+dsGYIDYVh6AZU3nSjWE0=";
15 };
16
17 propagatedBuildInputs = [ jsonschema ];
18
19 checkInputs = [ pytestCheckHook ];
20
21 disabledTests = [
22 # Fails with "Unresolvable JSON pointer"
23 "test_local_reference_in_meta"
24 ];
25
26 meta = with lib; {
27 description = "Merge a series of JSON documents";
28 homepage = "https://github.com/avian2/jsonmerge";
29 changelog = "https://github.com/avian2/jsonmerge/blob/jsonmerge-${version}/ChangeLog";
30 license = licenses.mit;
31 maintainers = with maintainers; [ emily ];
32 };
33}