netcdf: 4.8.1 -> 4.9.0
https://github.com/Unidata/netcdf-c/releases/tag/v4.9.0
This commit is contained in:
parent
e47f1d2527
commit
22f96886cf
|
@ -1,6 +1,7 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl, unzip
|
, fetchurl, unzip
|
||||||
, hdf5
|
, hdf5
|
||||||
|
, libxml2
|
||||||
, m4
|
, m4
|
||||||
, curl # for DAP
|
, curl # for DAP
|
||||||
, removeReferencesTo
|
, removeReferencesTo
|
||||||
|
@ -10,11 +11,11 @@ let
|
||||||
inherit (hdf5) mpiSupport mpi;
|
inherit (hdf5) mpiSupport mpi;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "netcdf" + lib.optionalString mpiSupport "-mpi";
|
pname = "netcdf" + lib.optionalString mpiSupport "-mpi";
|
||||||
version = "4.8.1";
|
version = "4.9.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.unidata.ucar.edu/netcdf-c/${version}/netcdf-c-${version}.tar.gz";
|
url = "https://downloads.unidata.ucar.edu/netcdf-c/${version}/netcdf-c-${version}.tar.gz";
|
||||||
sha256 = "1cbjwjmp9691clacw5v88hmpz46ngxs3bfpkf2xy1j7cvlkc72l0";
|
hash = "sha256-TJVgIrecCOXhTu6N9RsTwo5hIcK35/qtwhs3WUlAC0k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -27,7 +28,13 @@ in stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ m4 removeReferencesTo ];
|
nativeBuildInputs = [ m4 removeReferencesTo ];
|
||||||
buildInputs = [ hdf5 curl mpi ];
|
|
||||||
|
buildInputs = [
|
||||||
|
curl
|
||||||
|
hdf5
|
||||||
|
libxml2
|
||||||
|
mpi
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit mpiSupport mpi;
|
inherit mpiSupport mpi;
|
||||||
|
@ -50,12 +57,15 @@ in stdenv.mkDerivation rec {
|
||||||
doCheck = !(mpiSupport || (stdenv.isDarwin && stdenv.isAarch64));
|
doCheck = !(mpiSupport || (stdenv.isDarwin && stdenv.isAarch64));
|
||||||
checkInputs = [ unzip ];
|
checkInputs = [ unzip ];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=$TEMP
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Libraries for the Unidata network Common Data Format";
|
description = "Libraries for the Unidata network Common Data Format";
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
homepage = "https://www.unidata.ucar.edu/software/netcdf/";
|
homepage = "https://www.unidata.ucar.edu/software/netcdf/";
|
||||||
license = {
|
changelog = "https://docs.unidata.ucar.edu/netcdf-c/${version}/RELEASE_NOTES.html";
|
||||||
url = "https://www.unidata.ucar.edu/software/netcdf/docs/copyright.html";
|
license = lib.licenses.bsd3;
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue