guix-commits
[Top][All Lists]
Advanced

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

15/265: gnu: Add r-rprotobuflib.


From: guix-commits
Subject: 15/265: gnu: Add r-rprotobuflib.
Date: Sun, 15 Dec 2019 09:39:55 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit f1964519e748cda1703ec874ce8e33bcd85ddcb9
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Dec 15 14:24:56 2019 +0100

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

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index c59d799..8d0861a 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -5471,6 +5471,36 @@ statistics to the plot.")
 model with Box-Cox transformation.")
     (license license:artistic2.0)))
 
+;; TODO: this package bundles an old version of protobuf.  It's not easy to
+;; make it use our protobuf package instead.
+(define-public r-rprotobuflib
+  (package
+    (name "r-rprotobuflib")
+    (version "1.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (bioconductor-uri "RProtoBufLib" version))
+       (sha256
+        (base32
+         "0dlgki21a37bxqh3cf83vl5zqxm86472g8a9plvhrjzzsn3mwnrm"))))
+    (properties `((upstream-name . "RProtoBufLib")))
+    (build-system r-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'unpack-bundled-sources
+           (lambda _
+             (with-directory-excursion "src"
+               (invoke "tar" "xf" "protobuf-2.6.0.tgz"))
+             #t)))))
+    (home-page "https://bioconductor.org/packages/RProtoBufLib/";)
+    (synopsis "C++ headers and static libraries of Protocol buffers")
+    (description
+     "This package provides the headers and static library of Protocol buffers
+for other R packages to compile and link against.")
+    (license license:bsd-3)))
+
 (define-public r-flowsom
   (package
     (name "r-flowsom")



reply via email to

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