guix-commits
[Top][All Lists]
Advanced

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

03/115: gnu: Add r-fontawesome.


From: guix-commits
Subject: 03/115: gnu: Add r-fontawesome.
Date: Tue, 23 Nov 2021 10:26:31 -0500 (EST)

rekado pushed a commit to branch r-updates
in repository guix.

commit 07707bb88ebf35efabd9a4ba390ae35fe13aef7c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Nov 23 12:11:38 2021 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 368ef82..e689bc4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -581,6 +581,31 @@ ordered indexed observations.  It is particularly aimed at 
irregular time
 series of numeric vectors/matrices and factors.")
     (license license:gpl2+)))
 
+(define-public r-fontawesome
+  (package
+    (name "r-fontawesome")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "fontawesome" version))
+       (sha256
+        (base32 "0r6zb5175cr4ybqj6bl0mbhadwv9xjxaf32yjc0y76rw3d6vcbap"))))
+    (properties `((upstream-name . "fontawesome")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-htmltools" ,r-htmltools)
+       ("r-rlang" ,r-rlang)))
+    (home-page "https://github.com/rstudio/fontawesome";)
+    (synopsis "Easily work with Font Awesome icons")
+    (description
+     "Easily and flexibly insert Font Awesome icons into R Markdown documents
+and Shiny apps.  These icons can be inserted into HTML content through inline
+SVG tags or @code{i} tags.  There is also a utility function for exporting
+Font Awesome icons as PNG images for those situations where raster graphics
+are needed.")
+    (license license:expat)))
+
 (define-public r-fingerprint
   (package
     (name "r-fingerprint")



reply via email to

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