summary refs log blame commit diff
path: root/pkgs/development/python-modules/slicer/default.nix
blob: f8329dbab479a7ad5a6b40c321dee655cec5c3bf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
     









                        
                    



                          
                                                                                



                                                   
                    






                                                                                                       
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytestCheckHook
, pandas
, pytorch
}:

buildPythonPackage rec {
  pname = "slicer";
  version = "0.0.7";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "f5d5f7b45f98d155b9c0ba6554fa9770c6b26d5793a3e77a1030fb56910ebeec";
  };

  checkInputs = [ pytestCheckHook pandas pytorch ];

  meta = with lib; {
    description = "Wraps tensor-like objects and provides a uniform slicing interface via __getitem__";
    homepage = "https://github.com/interpretml/slicer";
    license = licenses.mit;
    maintainers = with maintainers; [ evax ];
    platforms = platforms.unix;
  };
}