Patchwork [1/4] gnu: Add r-synchronicity.

login
register
mail settings
Submitter Roel Janssen
Date Oct. 28, 2016, 12:25 p.m.
Message ID <87bmy4hd7u.fsf@gnu.org>
Download mbox | patch
Permalink /patch/16900/
State New
Headers show

Comments

Roel Janssen - Oct. 28, 2016, 12:25 p.m.
* gnu/packages/statistics.scm (r-synchronicity): New variable.
---
 gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
Ricardo Wurmus - Oct. 28, 2016, 8:42 p.m.
Roel Janssen <roel@gnu.org> writes:

> * gnu/packages/statistics.scm (r-synchronicity): New variable.
> ---
>  gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
> index b15f9cf..9e2d4a9 100644
> --- a/gnu/packages/statistics.scm
> +++ b/gnu/packages/statistics.scm
> @@ -2787,6 +2787,29 @@ Fourier transform, fuzzy clustering, support vector machines, shortest path
>  computation, bagged clustering, naive Bayes classifier, and more.")
>      (license license:gpl2+)))
>  
> +(define-public r-synchronicity
> +  (package
> +    (name "r-synchronicity")
> +    (version "1.1.9.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (cran-uri "synchronicity" version))
> +       (sha256
> +        (base32
> +         "0d9skpwmsnkn4xb3f2kgyyv8bhdi0r9p1kj3cvi0s92fjjnpi00c"))))
> +    (build-system r-build-system)
> +    (propagated-inputs
> +     `(("r-bh" ,r-bh)
> +       ("r-bigmemory-sri" ,r-bigmemory-sri)
> +       ("r-rcpp" ,r-rcpp)))
> +    (home-page "http://www.bigmemory.org")
> +    (synopsis "Boost mutex functionality in R")
> +    (description "This package provides support for synchronization
> +via mutexes and may eventually support interprocess communication and
> +message passing.")
> +    (license (list license:lgpl2.1 license:asl2.0))))
> +
>  (define-public r-nmf
>    (package
>      (name "r-nmf")

The order of patches is wrong.  Since this depends on “r-bigmemory-sri”
it ought to be committed after it.

Other than that it’s fine.  Thanks!

~~ Ricardo

Patch

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b15f9cf..9e2d4a9 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2787,6 +2787,29 @@  Fourier transform, fuzzy clustering, support vector machines, shortest path
 computation, bagged clustering, naive Bayes classifier, and more.")
     (license license:gpl2+)))
 
+(define-public r-synchronicity
+  (package
+    (name "r-synchronicity")
+    (version "1.1.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "synchronicity" version))
+       (sha256
+        (base32
+         "0d9skpwmsnkn4xb3f2kgyyv8bhdi0r9p1kj3cvi0s92fjjnpi00c"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-bh" ,r-bh)
+       ("r-bigmemory-sri" ,r-bigmemory-sri)
+       ("r-rcpp" ,r-rcpp)))
+    (home-page "http://www.bigmemory.org")
+    (synopsis "Boost mutex functionality in R")
+    (description "This package provides support for synchronization
+via mutexes and may eventually support interprocess communication and
+message passing.")
+    (license (list license:lgpl2.1 license:asl2.0))))
+
 (define-public r-nmf
   (package
     (name "r-nmf")