diff options
author | Evax Software <contact@evax.fr> | 2020-11-04 08:45:03 +0100 |
---|---|---|
committer | Evax Software <contact@evax.fr> | 2020-11-05 08:37:38 +0100 |
commit | 3f50332bc4913a56ad216ca01f5d0bd24277a6b2 (patch) | |
tree | 61fec946399553d499db680a78cbb52bd9938f7f /pkgs/development/python-modules/slicer/default.nix | |
parent | 4303b0a517674af40ec11fb17d30733fd5184110 (diff) |
python3Packages: init shap at 0.36.0
python3Packages: init slicer at 0.0.4
Diffstat (limited to '')
-rw-r--r-- | pkgs/development/python-modules/slicer/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/slicer/default.nix b/pkgs/development/python-modules/slicer/default.nix new file mode 100644 index 000000000000..827894771778 --- /dev/null +++ b/pkgs/development/python-modules/slicer/default.nix @@ -0,0 +1,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; + }; +} |