mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
21 lines
622 B
Nix
21 lines
622 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 = {
|
|
description = "Fortran API to manipulate netcdf files";
|
|
homepage = "http://www.unidata.ucar.edu/software/netcdf/";
|
|
license = stdenv.lib.licenses.free;
|
|
maintainers = stdenv.lib.maintainers.bzizou;
|
|
};
|
|
}
|