unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52192] [PATCH 3/3] Add r-rbokeh
@ 2021-11-29 23:53 Hong.Li
  2021-11-30 15:44 ` bug#52192: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Hong.Li @ 2021-11-29 23:53 UTC (permalink / raw)
  To: 52192; +Cc: rekado@elephly.net


[-- Attachment #1.1: Type: text/plain, Size: 2 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 368 bytes --]

[-- Attachment #2: 0003-Add-r-rbokeh.patch --]
[-- Type: application/octet-stream, Size: 1918 bytes --]

From 6e38f73d2b44b82f3885b5ddde04fa49dc14667e Mon Sep 17 00:00:00 2001
From: "Li, Hong" <hong.li@mdc-berlin.net>
Date: Tue, 30 Nov 2021 00:05:43 +0100
Subject: [PATCH 3/3] Add r-rbokeh

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3ca478d5ec..f6aeed5309 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -32069,6 +32069,38 @@ convert dates to MMWR day, week, and year and the reverse.")
 pen a 'gist' in your default browser, get embed code for a 'gist', list 'gist' 'commits', and get rate limit information when 'authenticated'.")
     (license license:expat)))
 
+(define-public r-rbokeh
+  (package
+    (name "r-rbokeh")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rbokeh" version))
+       (sha256
+        (base32
+         "1h2fpzqf17pw9d09r1g1iyxsj5qma4fsk8vnar7f1z4fjyypvi6q"))))
+    (properties `((upstream-name . "rbokeh")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-digest" ,r-digest)
+       ("r-gistr" ,r-gistr)
+       ("r-hexbin" ,r-hexbin)
+       ("r-htmlwidgets" ,r-htmlwidgets)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-lazyeval" ,r-lazyeval)
+       ("r-magrittr" ,r-magrittr)
+       ("r-maps" ,r-maps)
+       ("r-pryr" ,r-pryr)
+       ("r-scales" ,r-scales)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+     "https://cran.r-project.org/web/packages/rbokeh")
+    (synopsis "R Interface for Bokeh")
+    (description
+     "This package provides a native R plotting library that provides a flexible declarative interface for creating interactive web-based graphics, backed by the Bokeh visualization library <https://bokeh.pydata.org/>.")
+    (license license:expat)))
+
 (define-public r-fauxpas
   (package
     (name "r-fauxpas")
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#52192: [PATCH 3/3] Add r-rbokeh
  2021-11-29 23:53 [bug#52192] [PATCH 3/3] Add r-rbokeh Hong.Li
@ 2021-11-30 15:44 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2021-11-30 15:44 UTC (permalink / raw)
  To: Hong.Li@mdc-berlin.de; +Cc: 52192-done


Thanks for the patch!

Unfortunately, this package included minified JavaScript, so I 
added unminified JavaScript from unpkg.com to the native inputs 
and minified the files in a build phase.

Pushed to the “master” branch.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-30 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 23:53 [bug#52192] [PATCH 3/3] Add r-rbokeh Hong.Li
2021-11-30 15:44 ` bug#52192: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).