netcdf: add bzip2/libzip/zstd dependencies (and allow for szip support; disabled by default because it's nonfree)

This commit is contained in:
Luke Granger-Brown 2023-02-27 20:31:14 +00:00
parent a12ccf900b
commit 3e439e7cc4

View File

@ -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;