From 013f808a069291e08bb446e2de87882aa00c5945 Mon Sep 17 00:00:00 2001 From: "Bruno Bzeznik Bruno.Bzeznik@imag.fr" Date: Fri, 25 Mar 2016 15:09:51 +0100 Subject: [PATCH] netcdf-fortran: init at 4.4.3 --- .../libraries/netcdf-fortran/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/libraries/netcdf-fortran/default.nix diff --git a/pkgs/development/libraries/netcdf-fortran/default.nix b/pkgs/development/libraries/netcdf-fortran/default.nix new file mode 100644 index 000000000000..e72155554753 --- /dev/null +++ b/pkgs/development/libraries/netcdf-fortran/default.nix @@ -0,0 +1,20 @@ +{ 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1c0222dae43e..927a0db9ab1d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2386,6 +2386,8 @@ in netcdfcxx4 = callPackage ../development/libraries/netcdf-cxx4 { }; + netcdffortran = callPackage ../development/libraries/netcdf-fortran { }; + nco = callPackage ../development/libraries/nco { }; nc6 = callPackage ../tools/networking/nc6 { };