summary refs log tree commit diff
path: root/pkgs/development/libraries/netcdf-fortran
diff options
context:
space:
mode:
authorBruno Bzeznik Bruno.Bzeznik@imag.fr <Bruno.Bzeznik@imag.fr>2016-03-25 15:09:51 +0100
committerLancelot SIX <lsix@lancelotsix.com>2016-03-26 10:33:39 +0100
commit013f808a069291e08bb446e2de87882aa00c5945 (patch)
treebc5802b13c9ca07a5499243bae07e9bf766be901 /pkgs/development/libraries/netcdf-fortran
parentec4685cf709ed10727f92bc30182f5c145e3f6bf (diff)
downloadnixpkgs-013f808a069291e08bb446e2de87882aa00c5945.tar
nixpkgs-013f808a069291e08bb446e2de87882aa00c5945.tar.gz
nixpkgs-013f808a069291e08bb446e2de87882aa00c5945.tar.bz2
nixpkgs-013f808a069291e08bb446e2de87882aa00c5945.tar.lz
nixpkgs-013f808a069291e08bb446e2de87882aa00c5945.tar.xz
nixpkgs-013f808a069291e08bb446e2de87882aa00c5945.tar.zst
nixpkgs-013f808a069291e08bb446e2de87882aa00c5945.zip
netcdf-fortran: init at 4.4.3
Diffstat (limited to 'pkgs/development/libraries/netcdf-fortran')
-rw-r--r--pkgs/development/libraries/netcdf-fortran/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/netcdf-fortran/default.nix b/pkgs/development/libraries/netcdf-fortran/default.nix
new file mode 100644
index 00000000000..e7215555475
--- /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;
+  };
+}