all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 48684@debbugs.gnu.org
Subject: [bug#48684] [PATCH 2/3]: gnu: Add r-protolite
Date: Wed, 26 May 2021 20:54:27 +0000	[thread overview]
Message-ID: <CAO+9K5pDS8OpoKkbB0=idXTtS0Bfp+g0nq=-m2x=yvP30VfTyQ@mail.gmail.com> (raw)
In-Reply-To: <CAO+9K5oQAB3_tDsx0Z9h6ch5U8Od0Nc_TOJ1v0OKEBLsmYau2A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0002-gnu-Add-r-protolite.patch --]
[-- Type: text/x-patch, Size: 2044 bytes --]

From 4730970563155c1f812c814002207d3d25a447b2 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 26 May 2021 21:42:54 +0100
Subject: [PATCH 2/3] gnu: Add r-protolite

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f7c841ad52..e39617efcd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -29021,3 +29021,36 @@ complex functions.")
 application/x-www-form-urlencoded format.  Includes example of hosting and
 parsing html form data in R using either @code{httpuv} or @code{Rhttpd}.")
     (license license:expat)))
+
+(define-public r-protolite
+(package
+  (name "r-protolite")
+  (version "2.1")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (cran-uri "protolite" version))
+      (sha256
+        (base32 "0mwpdlpxsxbj4s2s30d0w1h4dsg0j1jzzldh8kvxii9lpfkiv2gz"))))
+  (properties `((upstream-name . "protolite")))
+  (build-system r-build-system)
+  (inputs
+   `(("protobuf" ,protobuf)))
+  (propagated-inputs
+   `(("r-jsonlite" ,r-jsonlite)
+     ("r-rcpp" ,r-rcpp)))
+  (native-inputs
+   `(("protobuf" ,protobuf)
+     ("pkg-config" ,pkg-config)))
+  (home-page "https://github.com/jeroen/protolite")
+  (synopsis "Highly Optimized Protocol Buffer Serializers")
+  (description
+    "Pure C++ implementations for reading and writing several common data
+formats based on Google protocol-buffers.  Currently supports @code{rexp.proto}
+for serialized R objects, @code{geobuf.proto} for binary geojson, and
+@code{mvt.proto} for vector tiles.  This package uses the auto-generated C++ code
+by protobuf-compiler, hence the entire serialization is optimized at compile
+time.  The @code{RProtoBuf} package on the other hand uses the protobuf runtime
+library to provide a general- purpose toolkit for reading and writing arbitrary
+protocol-buffer data in R.")
+  (license license:expat)))
-- 
2.31.1


[-- Attachment #3: 0001-gnu-Add-missing-module-protofub.patch --]
[-- Type: text/x-patch, Size: 745 bytes --]

From e0dc0df9b3f891822c3069b53538492a40ce654b Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 26 May 2021 21:47:13 +0100
Subject: [PATCH] gnu: Add missing module protofub

---
 gnu/packages/cran.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4e84d26784..fcd3e6bc43 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -96,6 +96,7 @@
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages protobuf)
   #:use-module (gnu packages pulseaudio)  ;libsndfile
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
-- 
2.31.1


  reply	other threads:[~2021-05-26 20:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-26 20:52 [bug#48684] [PATCH 3/3]: gnu: Add r-opencpu Sharlatan Hellseher
2021-05-26 20:54 ` Sharlatan Hellseher [this message]
2021-05-26 20:55 ` [bug#48684] [PATCH 1/3]: gnu: Add r-webutils Sharlatan Hellseher
2021-07-22  9:38 ` bug#48684: [PATCH 3/3]: gnu: Add r-opencpu Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAO+9K5pDS8OpoKkbB0=idXTtS0Bfp+g0nq=-m2x=yvP30VfTyQ@mail.gmail.com' \
    --to=sharlatanus@gmail.com \
    --cc=48684@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.