guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/19: gnu: Add r-spam.


From: guix-commits
Subject: 02/19: gnu: Add r-spam.
Date: Wed, 9 Jan 2019 11:14:08 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 90104ecd66526e708df0fca2cc6e93de89401883
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 9 16:31:33 2019 +0100

    gnu: Add r-spam.
    
    * gnu/packages/cran.scm (r-spam): New variable.
---
 gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4020ecd..e13fbc6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9924,3 +9924,33 @@ supports long vectors, arguments of type 64-bit integer, 
and provides a
 mechanism to avoid unnecessary copies of read-only and write-only arguments.
 This makes it a convenient and fast interface to C/C++ and Fortran code.")
     (license license:gpl2+)))
+
+(define-public r-spam
+  (package
+    (name "r-spam")
+    (version "2.2-1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "spam" version))
+       (sha256
+        (base32
+         "04bfwwna013hrbl4k6w1cdiz5bkc83jlasivriyn5l9gkj2qskr2"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-dotcall64" ,r-dotcall64)))
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page "https://www.math.uzh.ch/pages/spam/";)
+    (synopsis "Sparse matrix algebra")
+    (description
+     "This package provides a set of functions for sparse matrix algebra.
+Differences with other sparse matrix packages are:
+
address@hidden
address@hidden it only supports (essentially) one sparse matrix format;
address@hidden it is based on transparent and simple structure(s);
address@hidden it is tailored for MCMC calculations within G(M)RF;
address@hidden and it is fast and scalable (with the extension package 
@code{spam64}).
address@hidden enumerate\n")
+    ;; Either of these licenses
+    (license (list license:bsd-3 license:lgpl2.0))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]