From 3e439e7cc4bd14893db755d37404305d323d8a0a Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 27 Feb 2023 20:31:14 +0000 Subject: [PATCH] netcdf: add bzip2/libzip/zstd dependencies (and allow for szip support; disabled by default because it's nonfree) --- pkgs/development/libraries/netcdf/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/netcdf/default.nix b/pkgs/development/libraries/netcdf/default.nix index 188dd586797b..ead0b9c35291 100644 --- a/pkgs/development/libraries/netcdf/default.nix +++ b/pkgs/development/libraries/netcdf/default.nix @@ -1,6 +1,11 @@ { lib, stdenv , fetchurl, unzip , hdf5 +, bzip2 +, libzip +, zstd +, szipSupport ? false +, szip , libxml2 , m4 , curl # for DAP @@ -34,7 +39,10 @@ in stdenv.mkDerivation rec { hdf5 libxml2 mpi - ]; + bzip2 + libzip + zstd + ] ++ lib.optional szipSupport szip; passthru = { inherit mpiSupport mpi;