nixpkgs/pkgs/development/libraries/netcdf-fortran/default.nix

23 lines
657 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, netcdf, hdf5, curl, gfortran }:
2016-03-25 14:09:51 +00:00
stdenv.mkDerivation rec {
pname = "netcdf-fortran";
version = "4.4.5";
2016-03-25 14:09:51 +00:00
src = fetchurl {
url = "https://github.com/Unidata/netcdf-fortran/archive/v${version}.tar.gz";
sha256 = "00qwg4v250yg8kxp68srrnvfbfim241fnlm071p9ila2mihk8r01";
2016-03-25 14:09:51 +00:00
};
nativeBuildInputs = [ gfortran ];
buildInputs = [ netcdf hdf5 curl ];
2016-03-25 14:09:51 +00:00
doCheck = true;
meta = with lib; {
2016-03-25 14:09:51 +00:00
description = "Fortran API to manipulate netcdf files";
homepage = "https://www.unidata.ucar.edu/software/netcdf/";
license = licenses.free;
maintainers = [ maintainers.bzizou ];
platforms = platforms.unix;
2016-03-25 14:09:51 +00:00
};
}