1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-20 08:29:20 +03:00
nixpkgs/pkgs/development/python-modules/slicer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
672 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytestCheckHook
, pandas
, pytorch
2021-11-27 22:25:50 -08:00
, scipy
}:
buildPythonPackage rec {
pname = "slicer";
2021-02-20 10:09:17 +01:00
version = "0.0.7";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2021-02-20 10:09:17 +01:00
sha256 = "f5d5f7b45f98d155b9c0ba6554fa9770c6b26d5793a3e77a1030fb56910ebeec";
};
2021-11-27 22:25:50 -08:00
checkInputs = [ pytestCheckHook pandas pytorch scipy ];
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;
};
}