diff mbox

gnu: Add r-mvtnorm.

Message ID 871t5d7r68.fsf@gnu.org
State Committed
Headers show

Commit Message

Roel Janssen May 7, 2016, 4:45 p.m. UTC
Leo Famulari writes:

> On Wed, May 04, 2016 at 03:46:46PM +0200, Roel Janssen wrote:
>> +    (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?

Great catch!  It should be GPLv2 indeed.  Here is a new patch:

>From 51d79111331a8b5330528664b41094037fd17482 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Sat, 7 May 2016 18:42:15 +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 7, 2016, 6:32 p.m. UTC | #1
On Sat, May 07, 2016 at 06:45:47PM +0200, Roel Janssen wrote:
> Leo Famulari writes:
> > On Wed, May 04, 2016 at 03:46:46PM +0200, Roel Janssen wrote:
> >> +    (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?
> 
> Great catch!  It should be GPLv2 indeed.  Here is a new patch:

> * gnu/packages/statistics.scm (r-mvtnorm): New variable.

Thanks, applied as b5f13fdb9!
diff mbox

Patch

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 04274f2..7b34832 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2439,6 +2439,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")