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

45 lines
841 B
Nix
Raw Normal View History

2020-01-28 22:42:51 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, mock
, jsonpickle
, ordered-set
, numpy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "deepdiff";
2020-08-16 17:30:57 +00:00
version = "5.0.2";
2020-01-28 22:42:51 +00:00
src = fetchPypi {
inherit pname version;
2020-08-16 17:30:57 +00:00
sha256 = "e2b74af4da0ef9cd338bb6e8c97242c1ec9d81fcb28298d7bb24acdc19ea79d7";
2020-01-28 22:42:51 +00:00
};
# # 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 ];
};
}