gnu: Add r-fontawesome.

* gnu/packages/cran.scm (r-fontawesome): New variable.
This commit is contained in:
Ricardo Wurmus 2021-11-23 12:11:38 +01:00
parent 545ae3652e
commit 733b600eec
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -581,6 +581,31 @@ (define-public r-zoo
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")