Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 795 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, pytestCheckHook 6, pandas 7, torch 8, scipy 9}: 10 11buildPythonPackage rec { 12 pname = "slicer"; 13 version = "0.0.7"; 14 disabled = isPy27; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "f5d5f7b45f98d155b9c0ba6554fa9770c6b26d5793a3e77a1030fb56910ebeec"; 19 }; 20 21 nativeCheckInputs = [ pytestCheckHook pandas torch scipy ]; 22 23 disabledTests = [ 24 # IndexError: too many indices for array 25 "test_slicer_sparse" 26 "test_operations_2d" 27 ]; 28 29 meta = with lib; { 30 description = "Wraps tensor-like objects and provides a uniform slicing interface via __getitem__"; 31 homepage = "https://github.com/interpretml/slicer"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ evax ]; 34 platforms = platforms.unix; 35 }; 36}