mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: python-h5py: Reformat with guix style.
* gnu/packages/python-xyz.scm (python-h5py): Reformat with guix style. Change-Id: I9c8fabcb8a438909ff70a2c98c9e01b3a82079f3 Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
def734936f
commit
76470d47c5
1 changed files with 13 additions and 16 deletions
|
@ -2250,24 +2250,21 @@ (define-public python-h5py
|
||||||
(version "3.8.0")
|
(version "3.8.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "h5py" version))
|
(uri (pypi-uri "h5py" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0pyr6z4h2xqbp49yx2i1401gl6yqh03h771zslwcy0201hpxiskg"))))
|
||||||
"0pyr6z4h2xqbp49yx2i1401gl6yqh03h771zslwcy0201hpxiskg"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases (modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
(add-after 'unpack 'fix-hdf5-paths
|
||||||
(add-after 'unpack 'fix-hdf5-paths
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(setenv "HDF5_DIR"
|
||||||
(setenv "HDF5_DIR" (assoc-ref inputs "hdf5")))))))
|
(assoc-ref inputs "hdf5")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs (list python-six python-numpy))
|
||||||
(list python-six python-numpy))
|
(inputs (list hdf5-1.10))
|
||||||
(inputs
|
(native-inputs (list pkg-config python-cython python-ipython
|
||||||
(list hdf5-1.10))
|
python-pkgconfig python-pytest))
|
||||||
(native-inputs
|
|
||||||
(list python-cython python-ipython python-pkgconfig python-pytest pkg-config))
|
|
||||||
(home-page "https://www.h5py.org/")
|
(home-page "https://www.h5py.org/")
|
||||||
(synopsis "Read and write HDF5 files from Python")
|
(synopsis "Read and write HDF5 files from Python")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue