gnu: netcdf-cxx4, netcdf-cxx4-parallel-openmpi: Propagate netcdf.

* gnu/packages/maths.scm (netcdf-cxx4)[inputs]: Move netcdf from here...
[propagated-inputs]: ...to here.
(netcdf-cxx4-parallel-openmpi)[propagated-inputs]: New field.

Change-Id: I6d92e89f75e4e5cbf8d46be6b1ca331999606673
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Luca Cirrottola 2025-04-04 18:39:26 +02:00 committed by Andreas Enge
parent b2ba3def99
commit a729c88f67
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -2432,7 +2432,8 @@ sharing of scientific data.")
(search-input-file
%build-inputs
"/lib/libhdf5.so")))))
(inputs (list netcdf hdf5))
(inputs (list hdf5))
(propagated-inputs (list netcdf)) ;include/netcdf includes netcdf.h
(home-page "https://github.com/Unidata/netcdf-cxx4")
(synopsis "NetCDF C++ interface")
(description
@ -2447,7 +2448,8 @@ scientific data storage.")
(synopsis "NetCDF C++ interface (with MPI support)")
(inputs (modify-inputs (package-inputs netcdf-cxx4)
(prepend openmpi)
(replace "hdf5" hdf5-parallel-openmpi)
(replace "hdf5" hdf5-parallel-openmpi)))
(propagated-inputs (modify-inputs (package-propagated-inputs netcdf-cxx4)
(replace "netcdf" netcdf-parallel-openmpi)))))
(define-public n2p2