aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/deepdiff/default.nix
blob: 64d82e17466e7fac39a1288fe6e2c6af040dd525 (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
{ lib
, buildPythonPackage
, fetchPypi
, mock
, jsonpickle
, ordered-set
, numpy
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "deepdiff";
  version = "4.0.9";

  src = fetchPypi {
    inherit pname version;
    sha256 = "5e2343398e90538edaa59c0c99207e996a3a834fdc878c666376f632a760c35a";
  };

  # # Extra packages (may not be necessary)
  checkInputs = [
    mock
    numpy
    pytestCheckHook
  ];

  disabledTests = [
    # skipped tests require murmur module
    "test_prep_str_murmur3_64bit"
    "test_prep_str_murmur3_128bit"
  ];

  propagatedBuildInputs = [
    jsonpickle
    ordered-set
  ];

  meta = with lib; {
    description = "Deep Difference and Search of any Python object/data";
    homepage = "https://github.com/seperman/deepdiff";
    license = licenses.mit;
    maintainers = [ maintainers.mic92 ];
  };
}