mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: Add python-imageio.
* gnu/packages/python-xyz.scm (python-imageio): New variable.
This commit is contained in:
parent
6bd9e0d501
commit
88e0101b61
1 changed files with 37 additions and 0 deletions
|
@ -5392,6 +5392,43 @@ (define-public python-lfdfiles
|
||||||
experimental data and metadata at the Laboratory for Fluorescence Dynamics.")
|
experimental data and metadata at the Laboratory for Fluorescence Dynamics.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public python-imageio
|
||||||
|
(package
|
||||||
|
(name "python-imageio")
|
||||||
|
(version "2.8.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "imageio" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1ksjl523fm0fikrd85llxfba35rc1qsgwadgr6mbn9kis79xcpzv"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; many tests require online data
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key outputs inputs tests? #:allow-other-keys)
|
||||||
|
(if tests?
|
||||||
|
(begin
|
||||||
|
;; Make installed package available for running the tests.
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
|
(invoke "pytest" "-vv"))
|
||||||
|
#t))))))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-numpy" ,python-numpy)
|
||||||
|
("python-pillow" ,python-pillow)
|
||||||
|
("python-psutil" ,python-psutil)))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-pytest" ,python-pytest)))
|
||||||
|
(home-page "https://github.com/imageio/imageio")
|
||||||
|
(synopsis "Read and write image, video, scientific, and volumetric data formats")
|
||||||
|
(description
|
||||||
|
"This package provides a Python library for reading and writing a wide
|
||||||
|
range of image, video, scientific, and volumetric data formats.")
|
||||||
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public python-pycparser
|
(define-public python-pycparser
|
||||||
(package
|
(package
|
||||||
(name "python-pycparser")
|
(name "python-pycparser")
|
||||||
|
|
Loading…
Reference in a new issue