python312Packages.pyedflib: init at 0.1.38
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
cython,
|
||||
numpy,
|
||||
setuptools,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyedflib";
|
||||
version = "0.1.38";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "holgern";
|
||||
repo = "pyedflib";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-sj2O5ISAy12u4GdtucLaRfOeSA6o6FJpZWTyiLq5B3U=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
cython
|
||||
numpy
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyedflib"
|
||||
];
|
||||
|
||||
# Otherwise, the module is imported from source and lacks the compiled artifacts
|
||||
# By moving to the pyedflib directory, python imports the installed package instead of the module
|
||||
# from the local files
|
||||
preCheck = ''
|
||||
cd pyedflib
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python library to read/write EDF+/BDF+ files based on EDFlib";
|
||||
homepage = "https://github.com/holgern/pyedflib";
|
||||
changelog = "https://github.com/holgern/pyedflib/releases/tag/v${version}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
@@ -11619,6 +11619,8 @@ self: super: with self; {
|
||||
|
||||
pyecowitt = callPackage ../development/python-modules/pyecowitt { };
|
||||
|
||||
pyedflib = callPackage ../development/python-modules/pyedflib { };
|
||||
|
||||
pyedimax = callPackage ../development/python-modules/pyedimax { };
|
||||
|
||||
pyee = callPackage ../development/python-modules/pyee { };
|
||||
|
||||
Reference in New Issue
Block a user