31 buildPythonPackage rec {
32 pname = "niworkflows";
36 src = fetchFromGitHub {
40 hash = "sha256-29ZxLuKrvgCIOMMCUpi0HHhlNlgqUrUrSCiikwecmKw=";
43 pythonRelaxDeps = [ "traits" ];
74 env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
76 nativeCheckInputs = [ pytestCheckHook ];
77 preCheck = ''export HOME=$(mktemp -d)'';
78 pytestFlagsArray = [ "niworkflows" ];
79 # try to download data:
84 "test_SimpleShowMaskRPT"
85 "test_cifti_surfaces_plot"
86 "niworkflows.utils.misc.get_template_specs"
87 "niworkflows.interfaces.cifti._prepare_cifti"
89 disabledTestPaths = [ "niworkflows/tests/test_registration.py" ];
91 pythonImportsCheck = [ "niworkflows" ];
94 description = "Common workflows for MRI (anatomical, functional, diffusion, etc.)";
95 mainProgram = "niworkflows-boldref";
96 homepage = "https://github.com/nipreps/niworkflows";
97 changelog = "https://github.com/nipreps/niworkflows/blob/${src.rev}/CHANGES.rst";
98 license = licenses.asl20;
99 maintainers = with maintainers; [ bcdarwin ];