gnu: python-netcdf4: Use G-expressions.

* gnu/packages/python-xyz.scm (python-netcdf4): Use G-expressions.

Change-Id: Idba0da37c8c0d7e22a2a5cf784bb8a7c9b80ba12
This commit is contained in:
Sharlatan Hellseher 2025-07-19 21:33:34 +01:00
parent 9efddd7dae
commit 293beaaaa3
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4246,12 +4246,12 @@ of the netcdf4 package before.")
"0qxs8r1qmsmg760wm5q0wqlcm7hdd3k7cghryw6wvqd3v5rs7vwm"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'configure-locations
(lambda* (#:key inputs #:allow-other-keys)
(setenv "HDF5_DIR" (assoc-ref inputs "hdf5"))
#t)))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'configure-locations
(lambda _
(setenv "HDF5_DIR" #$(this-package-input "hdf5")))))))
(native-inputs
(list python-cython))
(propagated-inputs