diff mbox

gnu: Add r-mvtnorm.

Message ID 87y47qc4vt.fsf@gnu.org
State Dropped
Headers show

Commit Message

Roel Janssen May 4, 2016, 1:46 p.m. UTC
Dear Guix,

Yet another patch for an R package.

Kind regards,
Roel Janssen

>From ff2b4d8a0bc1ecf1dcc3a6ce8f3e457910e7aa33 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Wed, 4 May 2016 15:45:09 +0200
Subject: [PATCH] gnu: Add r-mvtnorm.

* gnu/packages/statistics.scm (r-mvtnorm): New variable.
---
 gnu/packages/statistics.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Comments

Leo Famulari May 6, 2016, 6:47 p.m. UTC | #1
On Wed, May 04, 2016 at 03:46:46PM +0200, Roel Janssen wrote:
> Dear Guix,
> 
> Yet another patch for an R package.
> 
> Kind regards,
> Roel Janssen
> 
> >From ff2b4d8a0bc1ecf1dcc3a6ce8f3e457910e7aa33 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Wed, 4 May 2016 15:45:09 +0200
> Subject: [PATCH] gnu: Add r-mvtnorm.
> 
> * gnu/packages/statistics.scm (r-mvtnorm): New variable.

Okay!

> +    (license license:gpl2+)))

I can't find the "or later" text anywhere in the source distribution.
According to some recent guix-devel discussion [0], that's what
determines whether something is gpl2 or gpl2+:

http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00149.html

What do you think?
diff mbox

Patch

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 3d0faf7..245d970 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2393,6 +2393,25 @@  things.  RSP is ideal for self-contained scientific reports and R package
 vignettes.")
     (license license:lgpl2.1+)))
 
+(define-public r-mvtnorm
+  (package
+    (name "r-mvtnorm")
+    (version "1.0-5")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "mvtnorm" version))
+              (sha256
+               (base32
+                "1pc1mi2h063gh4a40009xk5j6pf5bm4274i5kycln38dixsry3yh"))))
+    (build-system r-build-system)
+    (inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "http://mvtnorm.R-forge.R-project.org")
+    (synopsis "Package for multivariate normal and t-distributions")
+    (description "This package can compute multivariate normal and 
+t-probabilities, quantiles, random deviates and densities.")
+    (license license:gpl2+)))
+
 (define-public r-matrixstats
   (package
     (name "r-matrixstats")