nixpkgs/pkgs/development/python-modules/deepdiff/default.nix

50 lines
882 B
Nix
Raw Normal View History

2020-01-28 22:42:51 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, click
2020-01-28 22:42:51 +00:00
, ordered-set
, clevercsv
, jsonpickle
2020-01-28 22:42:51 +00:00
, numpy
, pytestCheckHook
, pyyaml
2020-01-28 22:42:51 +00:00
}:
buildPythonPackage rec {
pname = "deepdiff";
2021-04-29 23:03:46 +00:00
version = "5.5.0";
format = "setuptools";
2020-01-28 22:42:51 +00:00
# pypi source does not contain all fixtures required for tests
src = fetchFromGitHub {
owner = "seperman";
repo = "deepdiff";
rev = version;
2021-04-29 23:03:46 +00:00
sha256 = "sha256-PQijGub0sAW0aBYI+Ir89SraXaWx7OcQ+txZSqodJ6w=";
2020-01-28 22:42:51 +00:00
};
propagatedBuildInputs = [
click
ordered-set
2020-01-28 22:42:51 +00:00
];
pythonImportsCheck = [
"deepdiff"
];
checkInputs = [
clevercsv
2020-01-28 22:42:51 +00:00
jsonpickle
numpy
pytestCheckHook
pyyaml
2020-01-28 22:42:51 +00:00
];
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 ];
};
}