unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH]: gnu: Add arpack-ng.
@ 2015-02-18 15:10 Ricardo Wurmus
  2015-02-18 20:03 ` Andreas Enge
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2015-02-18 15:10 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: 0001-gnu-Add-arpack-ng.patch --]
[-- Type: text/x-patch, Size: 1972 bytes --]

From eb9c5e9a239a5001afec411296ea7e482444c405 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Wed, 18 Feb 2015 16:08:33 +0100
Subject: [PATCH] gnu: Add arpack-ng.

* gnu/packages/maths.scm (arpack-ng): New variable.
---
 gnu/packages/maths.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index c3cf30c..8c4eb3b 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
 ;;; Copyright © 2014 Mathieu Lirzin <mathieu.lirzin@openmailbox.org>
+;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -212,6 +213,30 @@ can be imported from spreadsheets, text files and database sources and it can
 be output in text, PostScript, PDF or HTML.")
     (license license:gpl3+)))
 
+(define-public arpack-ng
+  (package
+    (name "arpack-ng")
+    (version "3.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/opencollab/arpack-ng/archive/"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff"))))
+    (build-system gnu-build-system)
+    (home-page "https://github.com/opencollab/arpack-ng")
+    (inputs
+     `(("lapack" ,lapack)
+       ("fortran" ,gfortran-4.8)))
+    (synopsis "Fortran subroutines for solving eigenvalue problems")
+    (description
+     "ARPACK-NG is a collection of Fortran77 subroutines designed to solve
+large scale eigenvalue problems.")
+    (license (license:bsd-style "file://COPYING"
+                                "See COPYING in the distribution."))))
+
 (define-public lapack
   (package
     (name "lapack")
-- 
2.1.0

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

* Re: [PATCH]: gnu: Add arpack-ng.
  2015-02-18 15:10 [PATCH]: gnu: Add arpack-ng Ricardo Wurmus
@ 2015-02-18 20:03 ` Andreas Enge
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Enge @ 2015-02-18 20:03 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel

On Wed, Feb 18, 2015 at 04:10:04PM +0100, Ricardo Wurmus wrote:
> * gnu/packages/maths.scm (arpack-ng): New variable.

Looks good and compiles, please push.

> +    (license (license:bsd-style "file://COPYING"
> +                                "See COPYING in the distribution."))))

Concerning bsd licenses, I am always a bit confused. This is exactly bsd-3,
except that in the last clause, "name of the author" has been replaced by
"name of the copyright holders nor the names of its contributors".

Do we reserve bsd-3 to the exact bsd as at
   http://directory.fsf.org/wiki/License:BSD_3Clause ?
Or is this sufficiently close to be called bsd-3?

Andreas

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

end of thread, other threads:[~2015-02-18 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-18 15:10 [PATCH]: gnu: Add arpack-ng Ricardo Wurmus
2015-02-18 20:03 ` Andreas Enge

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).