diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2022-02-10 20:29:00 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-02-13 01:00:04 +0100 |
commit | a0c19d2d20b140b148711f389436f59a001cce60 (patch) | |
tree | ce96adac5fe53e90a3663d63d1e7c0aad2d1cf05 | |
parent | f6ba339eb54e934eeabbc6789a6b2978ae74b626 (diff) | |
download | guix-a0c19d2d20b140b148711f389436f59a001cce60.tar.gz |
gnu: Add python-mffpy.
* gnu/packages/python-science.scm: New variable.
-rw-r--r-- | gnu/packages/python-science.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index d04b0ef9e5..ea4d63d80b 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1430,3 +1430,34 @@ through a variety of methods and classes.") you to plot using pyqt by placing a vtk-widget into a background render. This can be quite useful when you desire to update your plot in real-time.") (license license:expat))) + +(define-public python-mffpy + (package + (name "python-mffpy") + (version "0.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/BEL-Public/mffpy") + (commit (string-append "v" version)))) + (sha256 + (base32 "0mi2walqdwf9gxnw7bb3bqrrshm3xz4vss65npdq8iyynhxzf66n")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "--pyargs" "mffpy"))))))) + (propagated-inputs (list python-deprecated python-numpy python-pytz)) + (native-inputs + (list python-mypy python-pytest python-pytest-cov pre-commit + python-flake8)) + (home-page "https://github.com/BEL-Public/mffpy") + (synopsis "Reader and Writer for Philips' MFF file format.") + (description "@code{mffpy} is a reader for EGI's MFF file format. These +files are directories containing several files of mostly xml files, but also +binary files.") + (license license:asl2.0))) |