Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 74 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ lib, buildPythonPackage, fetchFromGitHub, numpy, scipy, pytestCheckHook, pytest-timeout, h5py, matplotlib, nibabel, pandas, scikit-learn, decorator, jinja2, pooch, tqdm, setuptools, pythonOlder}:
buildPythonPackage rec { pname = "mne-python"; version = "1.6.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "mne-tools"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-OoaXNHGL2svOpNL5GHcVRfQc9GxIRpZRhpZ5Hi1JTzM="; };
propagatedBuildInputs = [ decorator jinja2 matplotlib numpy pooch scipy setuptools tqdm ];
nativeCheckInputs = [ h5py nibabel pandas pytestCheckHook scikit-learn pytest-timeout ];
preCheck = '' export HOME=$TMP export MNE_SKIP_TESTING_DATASET_TESTS=true export MNE_SKIP_NETWORK_TESTS=1 '';
# All tests pass, but Pytest hangs afterwards - probably some thread hasn't terminated doCheck = false;
pythonImportsCheck = [ "mne" ];
meta = with lib; { description = "Magnetoencephelography and electroencephalography in Python"; homepage = "https://mne.tools"; license = licenses.bsd3; maintainers = with maintainers; [ bcdarwin ]; };}