silx: 2.1.1 -> 2.1.2 (#361612)
[NixPkgs.git] / pkgs / development / python-modules / jsondiff / default.nix
blob2ddfd381f64d196f1aba51ea01b00e200c7b7467
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
8   setuptools-scm,
10   # dependencies
11   pyyaml,
13   # tests
14   hypothesis,
15   pytestCheckHook,
18 buildPythonPackage rec {
19   pname = "jsondiff";
20   version = "2.2.1";
21   pyproject = true;
23   src = fetchFromGitHub {
24     owner = "xlwings";
25     repo = "jsondiff";
26     rev = "refs/tags/${version}";
27     hash = "sha256-0EnI7f5t7Ftl/8UcsRdA4iVQ78mxvPucCJjFJ8TMwww=";
28   };
30   build-system = [
31     setuptools
32     setuptools-scm
33   ];
35   dependencies = [ pyyaml ];
37   nativeCheckInputs = [
38     hypothesis
39     pytestCheckHook
40   ];
42   meta = {
43     description = "Diff JSON and JSON-like structures in Python";
44     mainProgram = "jdiff";
45     homepage = "https://github.com/ZoomerAnalytics/jsondiff";
46     license = lib.licenses.mit;
47   };