mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 20:44:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
22 lines
630 B
Nix
22 lines
630 B
Nix
{ stdenv, fetchurl, netcdf, hdf5, curl, gfortran }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "netcdf-fortran";
|
|
version = "4.4.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Unidata/netcdf-fortran/archive/v${version}.tar.gz";
|
|
sha256 = "00qwg4v250yg8kxp68srrnvfbfim241fnlm071p9ila2mihk8r01";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|