guix-patches
[Top][All Lists]
Advanced

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

[bug#46287] [PATCH 4/4] gnu: Add r-bslib.


From: Todor Kondić
Subject: [bug#46287] [PATCH 4/4] gnu: Add r-bslib.
Date: Thu, 4 Feb 2021 02:13:01 +0100

* 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






reply via email to

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