Merge pull request #69692 from r-ryantm/auto-update/netcdf-cxx4

netcdfcxx4: 4.3.0 -> 4.3.1
This commit is contained in:
Luke Granger-Brown 2021-05-02 01:12:46 +01:00 committed by GitHub
commit f3cd74ba84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,22 @@
{ lib, stdenv, fetchurl, netcdf, hdf5, curl }:
{ lib, stdenv, fetchzip, netcdf, hdf5, curl, cmake, ninja }:
stdenv.mkDerivation rec {
pname = "netcdf-cxx4";
version = "4.3.0";
version = "4.3.1";
src = fetchurl {
src = fetchzip {
url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
sha256 = "13zi8cbk18gggx1c12a580wdsbl714lw68a1wg7c86x0sybirni5";
sha256 = "05kydd5z9iil5iv4fp7l11cicda5n5lsg5sdmsmc55xpspnsg7hr";
};
preConfigure = ''
cmakeFlags+="-Dabs_top_srcdir=$(readlink -f ./)"
'';
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ netcdf hdf5 curl ];
doCheck = true;
enableParallelChecking = false;
meta = {
description = "C++ API to manipulate netcdf files";