From patchwork Thu Feb 4 01:13:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Todor_Kondi=C4=87?= X-Patchwork-Id: 26882 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 55B4F27BC2E; Thu, 4 Feb 2021 07:26:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CFE0027BC47 for ; Thu, 4 Feb 2021 07:26:07 +0000 (GMT) Received: from localhost ([::1]:59100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7Z1i-0003z8-Vf for patchwork@mira.cbaines.net; Thu, 04 Feb 2021 02:26:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7VIP-0004XZ-35 for guix-patches@gnu.org; Wed, 03 Feb 2021 22:27:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56060) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7VIO-0001Pg-MN for guix-patches@gnu.org; Wed, 03 Feb 2021 22:27:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7VIO-0007g9-JI for guix-patches@gnu.org; Wed, 03 Feb 2021 22:27:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46287] [PATCH 4/4] gnu: Add r-bslib. Resent-From: Todor =?utf-8?q?Kondi=C4=87?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Feb 2021 03:27:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46287 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46287@debbugs.gnu.org Cc: Todor =?utf-8?q?Kondi=C4=87?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161240916929376 (code B ref -1); Thu, 04 Feb 2021 03:27:04 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2021 03:26:09 +0000 Received: from localhost ([127.0.0.1]:39361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7VHV-0007dd-0H for submit@debbugs.gnu.org; Wed, 03 Feb 2021 22:26:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:42844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7TDu-0004MC-SI for submit@debbugs.gnu.org; Wed, 03 Feb 2021 20:14:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7TDu-0005tv-NS for guix-patches@gnu.org; Wed, 03 Feb 2021 20:14:18 -0500 Received: from mx1.librem.one ([192.241.223.110]:39118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7TDo-0000ui-MZ for guix-patches@gnu.org; Wed, 03 Feb 2021 20:14:18 -0500 Received: from smtp.librem.one (unknown [192.241.214.14]) by mx1.librem.one (Postfix) with ESMTPS id C613680757 for ; Wed, 3 Feb 2021 17:14:10 -0800 (PST) From: Todor =?utf-8?q?Kondi=C4=87?= Date: Thu, 4 Feb 2021 02:13:01 +0100 Message-Id: <20210204011301.50868-4-kondor@librem.one> In-Reply-To: <20210204011301.50868-1-kondor@librem.one> References: <20210204011301.50868-1-kondor@librem.one> Received-SPF: pass client-ip=192.241.223.110; envelope-from=kondor@librem.one; helo=mx1.librem.one X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 03 Feb 2021 22:26:05 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 04 Feb 2021 02:25:52 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2019 Arne Babenhauserheide ;;; Copyright © 2019, 2020 Efraim Flashner -;;; Copyright © 2020 Todor Kondić +;;; Copyright © 2020, 2021 Todor Kondić ;;; Copyright © 2020 Danjela Lura ;;; Copyright © 2020 Naga Malleswari ;;; Copyright © 2020 Eric Brown @@ -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)))