KCNHUB: Python: Overlays for MNE & EDFIO
parent
bb1ca71158
commit
703675d218
|
@ -1,4 +1,4 @@
|
||||||
final-py: prev-py: {
|
final: final-py: prev-py: {
|
||||||
mne-python = prev-py.mne-python.overridePythonAttrs (old: {
|
mne-python = prev-py.mne-python.overridePythonAttrs (old: {
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
format = null;
|
format = null;
|
||||||
|
@ -6,4 +6,28 @@ final-py: prev-py: {
|
||||||
final-py.setuptools-scm
|
final-py.setuptools-scm
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
edfio = let
|
||||||
|
version = "0.4.1";
|
||||||
|
pname = "edfio";
|
||||||
|
in final-py.buildPythonPackage {
|
||||||
|
inherit pname version;
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = final.fetchFromGitHub {
|
||||||
|
owner = "the-siesta-group";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-+yb3Q/JximkVS6SOTFnjMYghbOi+UBbqW2Bs29eSonA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = with final-py; [
|
||||||
|
poetry-core
|
||||||
|
poetry-dynamic-versioning
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with final-py; [
|
||||||
|
numpy
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
final: prev: {
|
final: prev: {
|
||||||
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [(
|
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [(
|
||||||
(import ./python-packages.nix)
|
(import ./python-packages.nix final)
|
||||||
)];
|
)];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue