Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 55 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook, hatch-vcs, lxml, matplotlib, nibabel, numpy, pandas, scikit-learn, scipy, joblib, requests}:
buildPythonPackage rec { pname = "nilearn"; version = "0.10.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-A+9Npy0a6HsuPyi3cdx+BUZKoXliblfDAFlWJahlQnM="; };
nativeBuildInputs = [ hatch-vcs ];
nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608 # do subset of tests which don't fetch resources pytestFlagsArray = [ "nilearn/connectome/tests" ];
propagatedBuildInputs = [ joblib lxml matplotlib nibabel numpy pandas requests scikit-learn scipy ];
meta = with lib; { homepage = "https://nilearn.github.io"; description = "A module for statistical learning on neuroimaging data"; changelog = "https://github.com/nilearn/nilearn/releases/tag/${version}"; license = licenses.bsd3; };}