--- Begin Message ---
Subject: |
[PATCH] gnu: Add netcdf-fortran. |
Date: |
Thu, 27 Apr 2017 17:09:36 +0200 (CEST) |
Let's not forget about good old Fortran...
>From 52b9117f351caa8c2fba3491a66fe895e372e9d3 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <address@hidden>
Date: Thu, 27 Apr 2017 17:06:53 +0200
Subject: [PATCH] gnu: Add netcdf-fortran.
* gnu/packages/maths.scm (netcdf-fortran): New variable.
---
gnu/packages/maths.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0a11da9ea..4e70bd8d1 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -850,6 +850,30 @@ sharing of scientific data.")
"--disable-shared" "--with-pic"
,flags))))))
+(define-public netcdf-fortran
+ (package
+ (name "netcdf-fortran")
+ (version "4.4.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-fortran-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0xaxdcg1p83zmypwml3swsnr3ccn38inwldyr1l3wa4dbwbrblxj"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:parallel-tests? #f))
+ (inputs
+ `(("netcdf" ,netcdf)))
+ (native-inputs
+ `(("gfortran" ,gfortran)))
+ (synopsis "Fortran interface for the netCDF library")
+ (description (package-description netcdf))
+ (home-page (package-home-page netcdf))
+ (license (package-license netcdf))))
+
(define-public nlopt
(package
(name "nlopt")
--
2.12.2
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#26681: [PATCH] gnu: Add netcdf-fortran. |
Date: |
Sun, 30 Apr 2017 11:56:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Arun Isaac <address@hidden> writes:
> Builds successfully. No lint errors. LGTM.
Thanks for checking! I pushed the patch to master.
Thomas
--- End Message ---