21 buildPythonPackage rec {
26 disabled = pythonOlder "3.8";
28 src = fetchFromGitHub {
31 rev = "refs/tags/v${version}";
32 hash = "sha256-FlsjDgthXDGVjj4L0Yw+8UzBROw9jiM4Z+qi67D5ygU=";
35 propagatedBuildInputs = [
54 # tries to download models:
57 ++ lib.optionals stdenv.hostPlatform.isAarch64 [
58 # RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly
59 "test_queue_multiprocessing"
61 pythonImportsCheck = [
67 description = "Medical imaging toolkit for deep learning";
68 homepage = "https://torchio.readthedocs.io";
69 license = licenses.asl20;
70 maintainers = [ maintainers.bcdarwin ];