Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 720 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, mock 5, jsonpickle 6, mmh3 7, ordered-set 8, numpy 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "deepdiff"; 14 version = "5.0.2"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "e2b74af4da0ef9cd338bb6e8c97242c1ec9d81fcb28298d7bb24acdc19ea79d7"; 19 }; 20 21 # # Extra packages (may not be necessary) 22 checkInputs = [ 23 mock 24 numpy 25 pytestCheckHook 26 ]; 27 28 propagatedBuildInputs = [ 29 jsonpickle 30 mmh3 31 ordered-set 32 ]; 33 34 meta = with lib; { 35 description = "Deep Difference and Search of any Python object/data"; 36 homepage = "https://github.com/seperman/deepdiff"; 37 license = licenses.mit; 38 maintainers = [ maintainers.mic92 ]; 39 }; 40}