blob: 930a6c8783d68ec69f73c477e97018efbdced637 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
setuptools-scm,
# dependencies
pyyaml,
# tests
hypothesis,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jsondiff";
version = "2.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "xlwings";
repo = "jsondiff";
tag = version;
hash = "sha256-0EnI7f5t7Ftl/8UcsRdA4iVQ78mxvPucCJjFJ8TMwww=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ pyyaml ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
meta = {
description = "Diff JSON and JSON-like structures in Python";
mainProgram = "jdiff";
homepage = "https://github.com/ZoomerAnalytics/jsondiff";
license = lib.licenses.mit;
};
}
|