16 buildPythonPackage rec {
19 format = "setuptools";
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 hash = "sha256-sBzVTst5Tp2oZZ+Xsg3M7uAMbucL6idlpYwHvib3EaY=";
29 nativeBuildInputs = [ pythonRelaxDepsHook ];
31 pythonRelaxDeps = [ "lightning-utilities" ];
33 propagatedBuildInputs = [
34 lightning-utilities numpy torch threadpoolctl tqdm
36 nativeCheckInputs = [ dill pytestCheckHook ];
37 disabledTests = lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
38 # RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly:
39 "test_progressive_resize_integration"
42 pythonImportsCheck = [
48 "rising.transforms.functional"
53 description = "High-performance data loading and augmentation library in PyTorch";
54 homepage = "https://rising.rtfd.io";
55 license = lib.licenses.mit;
56 maintainers = with lib.maintainers; [ bcdarwin ];