forked from mirrors/nixpkgs
b189247ba0
Uses the HTTPS url for cases where the existing URL has a permanent redirect. For each domain, at least one fixed derivation URL was downloaded to test the domain is properly serving downloads. Also fixes jbake source URL, which was broken.
22 lines
652 B
Nix
22 lines
652 B
Nix
{ stdenv, fetchurl, netcdf, hdf5, curl, gfortran }:
|
|
stdenv.mkDerivation rec {
|
|
name = "netcdf-fortran-${version}";
|
|
version = "4.4.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Unidata/netcdf-fortran/archive/v${version}.tar.gz";
|
|
sha256 = "4170fc018c9ee8222e317215c6a273542623185f5f6ee00d37bbb4e024e4e998";
|
|
};
|
|
|
|
buildInputs = [ netcdf hdf5 curl gfortran ];
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Fortran API to manipulate netcdf files";
|
|
homepage = https://www.unidata.ucar.edu/software/netcdf/;
|
|
license = licenses.free;
|
|
maintainers = [ maintainers.bzizou ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|