Subject: bug#26681: closed (Re: bug#26681: [PATCH] gnu: Add netcdf-fortran.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 30 Apr 2017 09:57:02 +0000

Your bug report

#26681: [PATCH] gnu: Add netcdf-fortran.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
26681: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26681
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#26681: [PATCH] gnu: Add netcdf-fortran.
From: Thomas Danckaert <[email-masked]>
To: Arun Isaac <[email-masked]>, [email-masked]
Date: Sun, 30 Apr 2017 11:56:39 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Arun Isaac <[email-masked]> writes:

> Builds successfully. No lint errors. LGTM.

Thanks for checking!  I pushed the patch to master.

Thomas

Subject: [PATCH] gnu: Add netcdf-fortran.
From: Thomas Danckaert <[email-masked]>
To: [email-masked]
Date: Thu, 27 Apr 2017 17:09:36 +0200 (CEST)
List-Id: <debbugs-submit.debbugs.gnu.org>

Let's not forget about good old Fortran...
>From 52b9117f351caa8c2fba3491a66fe895e372e9d3 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <[email-masked]>
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