From 9a21f7bba1ef895d664115a70c27cdd7769bb108 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 17:17:11 +0100 Subject: [PATCH 03/18] gnu: Add python-eeglabio. * gnu/packages/python-science.scm (python-eeglabio): New variable. --- gnu/packages/python-science.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 47b142494e..e6a15ae27f 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1084,3 +1084,32 @@ (define-public python-edflib @url{https://www.teuniz.net/edfbrowser/bdfplus%20format%20description.html, 24-bit version} of EDF.") (license license:bsd-3))) + +(define-public python-eeglabio + (package + (name "python-eeglabio") + (version "0.0.1.post6") + (source (origin + (method url-fetch) + (uri (pypi-uri "eeglabio" version)) + (sha256 + (base32 + "0k70s8lg9b9mcs883kq8jgnj9wmxvb96q54w23f3zw38jjxw46gs")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'restore-requirements.txt + (lambda _ + ;; requirements.txt is not distributed, but it is in the + ;; source + (call-with-output-file "requirements.txt" + (lambda (port) + (format port "numpy +scipy +")))))))) + (propagated-inputs (list python-numpy python-scipy)) + (home-page "https://github.com/jackz314/eeglabio") + (synopsis "I/O support for EEGLAB files in Python") + (description "I/O support for EEGLAB files in Python.") + (license license:bsd-3))) -- 2.34.0