all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26681: [PATCH] gnu: Add netcdf-fortran.
@ 2017-04-27 15:09 Thomas Danckaert
  2017-04-27 19:56 ` Arun Isaac
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Danckaert @ 2017-04-27 15:09 UTC (permalink / raw)
  To: 26681

[-- Attachment #1: Type: Text/Plain, Size: 43 bytes --]

Let's not forget about good old Fortran...

[-- Attachment #2: 0001-gnu-Add-netcdf-fortran.patch --]
[-- Type: Text/X-Patch, Size: 1502 bytes --]

From 52b9117f351caa8c2fba3491a66fe895e372e9d3 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <post@thomasdanckaert.be>
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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#26681: [PATCH] gnu: Add netcdf-fortran.
  2017-04-27 15:09 bug#26681: [PATCH] gnu: Add netcdf-fortran Thomas Danckaert
@ 2017-04-27 19:56 ` Arun Isaac
  2017-04-30  9:56   ` Thomas Danckaert
  0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2017-04-27 19:56 UTC (permalink / raw)
  To: 26681


Builds successfully. No lint errors. LGTM.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26681: [PATCH] gnu: Add netcdf-fortran.
  2017-04-27 19:56 ` Arun Isaac
@ 2017-04-30  9:56   ` Thomas Danckaert
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Danckaert @ 2017-04-30  9:56 UTC (permalink / raw)
  To: Arun Isaac, 26681-close

Arun Isaac <arunisaac@systemreboot.net> writes:

> Builds successfully. No lint errors. LGTM.

Thanks for checking!  I pushed the patch to master.

Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-30  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-27 15:09 bug#26681: [PATCH] gnu: Add netcdf-fortran Thomas Danckaert
2017-04-27 19:56 ` Arun Isaac
2017-04-30  9:56   ` Thomas Danckaert

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.