1 { lib, stdenv, fetchFromGitHub, netcdf, hdf5, curl, cmake, ninja }:
2 stdenv.mkDerivation rec {
6 src = fetchFromGitHub {
10 sha256 = "sha256-GZ6n7dW3l8Kqrk2Xp2mxRTUWWQj0XEd2LDTG9EtrfhY=";
14 cmakeFlags+="-Dabs_top_srcdir=$(readlink -f ./)"
17 nativeBuildInputs = [ cmake ninja ];
18 buildInputs = [ netcdf hdf5 curl ];
21 enableParallelChecking = false;
24 description = "C++ API to manipulate netcdf files";
25 homepage = "https://www.unidata.ucar.edu/software/netcdf/";
26 license = lib.licenses.free;
27 platforms = lib.platforms.unix;