about summary refs log tree commit diff
path: root/pkgs/development/libraries/netcdf
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2023-02-27 20:31:14 +0000
committerLuke Granger-Brown <git@lukegb.com>2023-02-27 20:33:46 +0000
commit3e439e7cc4bd14893db755d37404305d323d8a0a (patch)
treebe040e628a9fc5c029047e09e5b810a7ee01e378 /pkgs/development/libraries/netcdf
parenta12ccf900be540e6c2216f50628b377cd074e9b8 (diff)
netcdf: add bzip2/libzip/zstd dependencies (and allow for szip support; disabled by default because it's nonfree)
Diffstat (limited to 'pkgs/development/libraries/netcdf')
-rw-r--r--pkgs/development/libraries/netcdf/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/libraries/netcdf/default.nix b/pkgs/development/libraries/netcdf/default.nix
index 188dd586797ba..ead0b9c352911 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;