unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#46285] [PATCH 1/4] gnu: Add r-jquerylib.
@ 2021-02-04  1:12 Todor Kondić
  2021-02-04  1:12 ` [bug#46286] [PATCH 2/4] gnu: Add r-cachem Todor Kondić
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Todor Kondić @ 2021-02-04  1:12 UTC (permalink / raw)
  To: 46285; +Cc: Todor Kondić

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 874a77c552..6f7d07140d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -25782,3 +25782,29 @@ tuning, e.g. Grid Search, Random Search, or Simulated Annealing.  Various
 termination criteria can be set and combined.  The class @code{AutoTuner} provides a
 convenient way to perform nested resampling in combination with @code{mlr3}.")
     (license license:lgpl3)))
+
+(define-public r-jquerylib
+  (package
+    (name "r-jquerylib")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "jquerylib" version))
+       (sha256
+        (base32
+         "1s0d6mws13hwkx07jqmry7vp30a05b2p9w7ir68bmkhasidwkzdq"))))
+    (properties `((upstream-name . "jquerylib")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-htmltools" ,r-htmltools)))
+    (home-page
+     "https://cran.r-project.org/package=jquerylib")
+    (synopsis
+     "Obtain @code{jQuery} as an HTML Dependency Object")
+    (description
+     "Obtain any major version of @code{jQuery}
+@url{https://code.jquery.com,jQuery} and use it in any webpage
+generated by @code{htmltools}.  Most R users do not need to use this
+package directly.")
+    (license license:expat)))
-- 
2.30.0





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

* [bug#46286] [PATCH 2/4] gnu: Add r-cachem.
  2021-02-04  1:12 [bug#46285] [PATCH 1/4] gnu: Add r-jquerylib Todor Kondić
@ 2021-02-04  1:12 ` Todor Kondić
  2021-02-04  1:13 ` [bug#46288] [PATCH 3/4] gnu: Add r-sass Todor Kondić
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Todor Kondić @ 2021-02-04  1:12 UTC (permalink / raw)
  To: 46286; +Cc: Todor Kondić

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6f7d07140d..89474a491d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -25808,3 +25808,27 @@ convenient way to perform nested resampling in combination with @code{mlr3}.")
 generated by @code{htmltools}.  Most R users do not need to use this
 package directly.")
     (license license:expat)))
+
+(define-public r-cachem
+  (package
+    (name "r-cachem")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "cachem" version))
+       (sha256
+        (base32
+         "0hann47kpalhi0wp86xkd3j6zbl6x785ciggl86z53znyk1ywx44"))))
+    (properties `((upstream-name . "cachem")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-fastmap" ,r-fastmap) ("r-rlang" ,r-rlang)))
+    (home-page "https://cachem.r-lib.org/")
+    (synopsis
+     "Cache R Objects with Automatic Pruning")
+    (description
+     "Key-value stores with automatic pruning.  Caches can limit
+either their total size or the age of the oldest object (or both),
+automatically pruning objects to maintain the constraints.")
+    (license license:expat)))
-- 
2.30.0





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

* [bug#46288] [PATCH 3/4] gnu: Add r-sass.
  2021-02-04  1:12 [bug#46285] [PATCH 1/4] gnu: Add r-jquerylib Todor Kondić
  2021-02-04  1:12 ` [bug#46286] [PATCH 2/4] gnu: Add r-cachem Todor Kondić
@ 2021-02-04  1:13 ` Todor Kondić
  2021-11-05  8:24   ` phodina via Guix-patches via
  2021-02-04  1:13 ` [bug#46287] [PATCH 4/4] gnu: Add r-bslib Todor Kondić
  2021-11-22 23:03 ` bug#46285: [PATCH 1/4] gnu: Add r-jquerylib Ricardo Wurmus
  3 siblings, 1 reply; 6+ messages in thread
From: Todor Kondić @ 2021-02-04  1:13 UTC (permalink / raw)
  To: 46288; +Cc: Todor Kondić

* gnu/packages/cran.scm(r-sass): Add variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 89474a491d..e52963d789 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -25832,3 +25832,34 @@ package directly.")
 either their total size or the age of the oldest object (or both),
 automatically pruning objects to maintain the constraints.")
     (license license:expat)))
+
+(define-public r-sass
+  (package
+    (name "r-sass")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "sass" version))
+       (sha256
+        (base32
+         "1cxqwsdyz71mgflqqa65mfr161jlv8q9mshs1y19pxp6pz5wnv0s"))))
+    (properties `((upstream-name . "sass")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-digest" ,r-digest)
+       ("r-fs" ,r-fs)
+       ("r-htmltools" ,r-htmltools)
+       ("r-r6" ,r-r6)
+       ("r-rappdirs" ,r-rappdirs)
+       ("r-rlang" ,r-rlang)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/rstudio/sass")
+    (synopsis
+     "Syntactically Awesome Style Sheets")
+    (description
+     "An @code{SCSS} compiler, powered by the @code{LibSass} library.
+With this, R developers can use variables, inheritance, and functions
+to generate dynamic style sheets.  The package uses the @code{Sass
+CSS} extension language, which is stable and CSS compatible.")
+    (license license:expat)))
-- 
2.30.0





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

* [bug#46287] [PATCH 4/4] gnu: Add r-bslib.
  2021-02-04  1:12 [bug#46285] [PATCH 1/4] gnu: Add r-jquerylib Todor Kondić
  2021-02-04  1:12 ` [bug#46286] [PATCH 2/4] gnu: Add r-cachem Todor Kondić
  2021-02-04  1:13 ` [bug#46288] [PATCH 3/4] gnu: Add r-sass Todor Kondić
@ 2021-02-04  1:13 ` Todor Kondić
  2021-11-22 23:03 ` bug#46285: [PATCH 1/4] gnu: Add r-jquerylib Ricardo Wurmus
  3 siblings, 0 replies; 6+ messages in thread
From: Todor Kondić @ 2021-02-04  1:13 UTC (permalink / raw)
  To: 46287; +Cc: Todor Kondić

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e52963d789..0fce49f45e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -20,7 +20,7 @@
 ;;; Copyright © 2019, 2020 Wiktor Żelazny <wzelazny@vurv.cz>
 ;;; Copyright © 2019 Arne Babenhauserheide <arne_bab@web.de>
 ;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2020 Todor Kondić <tk.code@protonmail.com>
+;;; Copyright © 2020, 2021 Todor Kondić <kondor@librem.one>
 ;;; Copyright © 2020 Danjela Lura <danielaluraa@gmail.com>
 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
 ;;; Copyright © 2020 Eric Brown <ecbrown@ericcbrown.com>
@@ -25863,3 +25863,35 @@ With this, R developers can use variables, inheritance, and functions
 to generate dynamic style sheets.  The package uses the @code{Sass
 CSS} extension language, which is stable and CSS compatible.")
     (license license:expat)))
+
+(define-public r-bslib
+  (package
+    (name "r-bslib")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "bslib" version))
+       (sha256
+        (base32
+         "0qlpv2lqr3hjykszmnll7vi4zhmrz4rgcfl0sifxc6cha6jy2nac"))))
+    (properties `((upstream-name . "bslib")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-digest" ,r-digest)
+       ("r-htmltools" ,r-htmltools)
+       ("r-jquerylib" ,r-jquerylib)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-magrittr" ,r-magrittr)
+       ("r-rlang" ,r-rlang)
+       ("r-sass" ,r-sass)))
+    (home-page "https://rstudio.github.io/bslib/")
+    (synopsis
+     "Custom @code{Bootstrap Sass} Themes for @code{shiny} and @code{rmarkdown}")
+    (description
+     "Simplifies custom @code{CSS} styling of both @code{shiny} and
+@code{rmarkdown} via @code{Bootstrap Sass}.  Supports both
+@code{Bootstrap} 3 and 4 as well as their various @code{Bootswatch}
+themes.  An interactive widget is also provided for previewing themes
+in real time.")
+    (license license:expat)))
-- 
2.30.0





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

* [bug#46288] [PATCH 3/4] gnu: Add r-sass.
  2021-02-04  1:13 ` [bug#46288] [PATCH 3/4] gnu: Add r-sass Todor Kondić
@ 2021-11-05  8:24   ` phodina via Guix-patches via
  0 siblings, 0 replies; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-11-05  8:24 UTC (permalink / raw)
  To: 46288

Hi,

this package has already been added in 281df0d225877bf784c562cbdec0400f7f4c4513 by Ricardo Wurmus.

Petr




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

* bug#46285: [PATCH 1/4] gnu: Add r-jquerylib.
  2021-02-04  1:12 [bug#46285] [PATCH 1/4] gnu: Add r-jquerylib Todor Kondić
                   ` (2 preceding siblings ...)
  2021-02-04  1:13 ` [bug#46287] [PATCH 4/4] gnu: Add r-bslib Todor Kondić
@ 2021-11-22 23:03 ` Ricardo Wurmus
  3 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2021-11-22 23:03 UTC (permalink / raw)
  To: 46285-done

I’m closing this.  We have r-jquerylib 0.1.4 in Guix.  It is 
unfortunately a bit more complicated because we build the minified 
JavaScript files from source.

-- 
Ricardo




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

end of thread, other threads:[~2021-11-22 23:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04  1:12 [bug#46285] [PATCH 1/4] gnu: Add r-jquerylib Todor Kondić
2021-02-04  1:12 ` [bug#46286] [PATCH 2/4] gnu: Add r-cachem Todor Kondić
2021-02-04  1:13 ` [bug#46288] [PATCH 3/4] gnu: Add r-sass Todor Kondić
2021-11-05  8:24   ` phodina via Guix-patches via
2021-02-04  1:13 ` [bug#46287] [PATCH 4/4] gnu: Add r-bslib Todor Kondić
2021-11-22 23:03 ` bug#46285: [PATCH 1/4] gnu: Add r-jquerylib Ricardo Wurmus

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).