1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, click
5, ordered-set
6, clevercsv
7, jsonpickle
8, numpy
9, pytestCheckHook
10, pyyaml
11}:
12
13buildPythonPackage rec {
14 pname = "deepdiff";
15 version = "5.5.0";
16 format = "setuptools";
17
18 # pypi source does not contain all fixtures required for tests
19 src = fetchFromGitHub {
20 owner = "seperman";
21 repo = "deepdiff";
22 rev = version;
23 sha256 = "sha256-PQijGub0sAW0aBYI+Ir89SraXaWx7OcQ+txZSqodJ6w=";
24 };
25
26 propagatedBuildInputs = [
27 click
28 ordered-set
29 ];
30
31 pythonImportsCheck = [
32 "deepdiff"
33 ];
34
35 checkInputs = [
36 clevercsv
37 jsonpickle
38 numpy
39 pytestCheckHook
40 pyyaml
41 ];
42
43 meta = with lib; {
44 description = "Deep Difference and Search of any Python object/data";
45 homepage = "https://github.com/seperman/deepdiff";
46 license = licenses.mit;
47 maintainers = [ maintainers.mic92 ];
48 };
49}