nixpkgs/pkgs/development/python-modules/deepdiff/default.nix
Martin Weinelt fd97b66ec6
python3Packages.deepdiff: 5.2.3 -> 5.3.0
Also expose cli under the `deepdiff` attribute.
2021-04-17 20:44:48 +02:00

50 lines
883 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, click
, ordered-set
, clevercsv
, jsonpickle
, numpy
, pytestCheckHook
, pyyaml
}:
buildPythonPackage rec {
pname = "deepdiff";
version = "5.3.0";
format = "setuptools";
# pypi source does not contain all fixtures required for tests
src = fetchFromGitHub {
owner = "seperman";
repo = "deepdiff";
rev = version;
sha256 = "1izw2qpd93nj948zakamjn7q7dlmmr7sapg0c65hxvs0nmij8sl4";
};
propagatedBuildInputs = [
click
ordered-set
];
pythonImportsCheck = [
"deepdiff"
];
checkInputs = [
clevercsv
jsonpickle
numpy
pytestCheckHook
pyyaml
];
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 ];
};
}