KCNHUB: Python: Overlays for MNE & EDFIO

master
David Crompton 2024-07-18 19:07:10 -04:00
parent bb1ca71158
commit 703675d218
2 changed files with 26 additions and 2 deletions

View File

@ -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
];
};
} }

View File

@ -1,5 +1,5 @@
final: prev: { final: prev: {
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [( pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [(
(import ./python-packages.nix) (import ./python-packages.nix final)
)]; )];
} }