nixpkgs/pkgs/development/python-modules/slicer/default.nix
Evax Software 3f50332bc4 python3Packages: init shap at 0.36.0
python3Packages: init slicer at 0.0.4
2020-11-05 08:37:38 +01:00

30 lines
668 B
Nix

{ 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;
};
}