blob: 827894771778f71d481076f1a889100ddb506aba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, pytestCheckHook
, pandas
, pytorch
}:
buildPythonPackage rec {
pname = "slicer";
version = "0.0.4";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "21d53aac4e78c93fd83c0fd2f8f9d8a2195ac079dffdc0da81cd749da0f2f355";
};
checkInputs = [ pytestCheckHook pandas pytorch ];
meta = with stdenv.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;
};
}
|