diff --git a/pkgs/development/python-modules/nitransforms/default.nix b/pkgs/development/python-modules/nitransforms/default.nix index 09c69f9efb30..5c570b9b2798 100644 --- a/pkgs/development/python-modules/nitransforms/default.nix +++ b/pkgs/development/python-modules/nitransforms/default.nix @@ -2,9 +2,11 @@ , buildPythonPackage , fetchPypi , pythonOlder +, pythonRelaxDepsHook , h5py , nibabel , numpy +, scipy , setuptools-scm , toml }: @@ -19,8 +21,11 @@ buildPythonPackage rec { hash = "sha256-iV9TEIGogIfbj+fmOGftoQqEdtZiewbHEw3hYlMEP4c="; }; + nativeBuildInputs = [ pythonRelaxDepsHook ]; buildInputs = [ setuptools-scm toml ]; - propagatedBuildInputs = [ h5py nibabel numpy ]; + propagatedBuildInputs = [ h5py nibabel numpy scipy ]; + + pythonRelaxDeps = [ "scipy" ]; doCheck = false; # relies on data repo (https://github.com/nipreps-data/nitransforms-tests);