about summary refs log tree commit diff
path: root/pkgs/development/libraries/netcdf-cxx4
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2019-10-18 18:21:45 +0200
committerLuke Granger-Brown <git@lukegb.com>2021-05-01 23:07:27 +0000
commit56858c2b92bcd038aa5718fa6e0ad72e7c8c9bb9 (patch)
tree3dec743f4a631b8bd56e3de3fab313b756ec31f8 /pkgs/development/libraries/netcdf-cxx4
parent370300758a9d8ee92d5d90659371f75f9448c83d (diff)
netcdfcxx4: use fetchzip
Github archives are not stable over time so
fetchzip should be used instead of fetchurl
Diffstat (limited to 'pkgs/development/libraries/netcdf-cxx4')
-rw-r--r--pkgs/development/libraries/netcdf-cxx4/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/netcdf-cxx4/default.nix b/pkgs/development/libraries/netcdf-cxx4/default.nix
index d37979a07fc62..d0a69b202feb2 100644
--- a/pkgs/development/libraries/netcdf-cxx4/default.nix
+++ b/pkgs/development/libraries/netcdf-cxx4/default.nix
@@ -1,11 +1,11 @@
-{ lib, stdenv, fetchurl, netcdf, hdf5, curl }:
+{ lib, stdenv, fetchzip, netcdf, hdf5, curl }:
 stdenv.mkDerivation rec {
   pname = "netcdf-cxx4";
   version = "4.3.1";
 
-  src = fetchurl {
+  src = fetchzip {
     url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
-    sha256 = "1p4fjxxbrc0ra8kbs13d33p5zaqa4a6j1wavamr2f73cq0p3vzp3";
+    sha256 = "05kydd5z9iil5iv4fp7l11cicda5n5lsg5sdmsmc55xpspnsg7hr";
   };
 
   buildInputs = [ netcdf hdf5 curl ];