gnu: Add r-gfonts.

* gnu/packages/cran.scm (r-gfonts): New variable.
This commit is contained in:
Ricardo Wurmus 2023-02-18 13:01:54 +01:00
parent 2b9cb13796
commit 6a3144bd27
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -541,6 +541,34 @@ (define-public r-emdist
Distance (EMD).")
(license license:expat)))
(define-public r-gfonts
(package
(name "r-gfonts")
(version "0.2.0")
(source (origin
(method url-fetch)
(uri (cran-uri "gfonts" version))
(sha256
(base32
"19ja087k767bq71v2w4jcpynd62ysrqmjf6rpfnmmd40aanyxqkj"))))
(properties `((upstream-name . "gfonts")))
(build-system r-build-system)
(propagated-inputs
(list r-crayon
r-crul
r-glue
r-htmltools
r-jsonlite
r-shiny))
(native-inputs (list r-knitr))
(home-page "https://dreamrs.github.io/gfonts/")
(synopsis "Offline Google fonts for Markdown and Shiny")
(description
"This package lets you download Google fonts and generate CSS to use in
rmarkdown documents and Shiny applications. Some popular fonts are included
and ready to use.")
(license license:gpl3)))
(define-public r-ggalt
(package
(name "r-ggalt")