uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
59
pkgs/development/python-modules/mne-python/default.nix
Normal file
59
pkgs/development/python-modules/mne-python/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, numpy
|
||||
, scipy
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, pytest-timeout
|
||||
, h5py
|
||||
, matplotlib
|
||||
, nibabel
|
||||
, pandas
|
||||
, scikit-learn
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mne-python";
|
||||
version = "0.24.1";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
# PyPI dist insufficient to run tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "mne-tools";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0n91pj97xmpn0bmlv56q2117szlvvs4b52pjjlm3g8ny4xb3iwr0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy ];
|
||||
|
||||
# all tests pass, but Pytest hangs afterwards - probably some thread hasn't terminated
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-timeout
|
||||
h5py
|
||||
matplotlib
|
||||
nibabel
|
||||
pandas
|
||||
scikit-learn
|
||||
];
|
||||
preCheck = ''
|
||||
export HOME=$TMP
|
||||
export MNE_SKIP_TESTING_DATASET_TESTS=true
|
||||
export MNE_SKIP_NETWORK_TESTS=1
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "mne" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://mne.tools";
|
||||
description = "Magnetoencephelography and electroencephalography in Python";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue