guix-commits
[Top][All Lists]
Advanced

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

11/212: gnu: Add r-gfonts.


From: guix-commits
Subject: 11/212: gnu: Add r-gfonts.
Date: Sat, 18 Feb 2023 14:00:45 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 6a3144bd27df38ce1538a42a7977df25ba655eda
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Feb 18 13:01:54 2023 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 52af3c7b63..b110cee0ca 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -541,6 +541,34 @@ by Luis Torgo, published by CRC Press.")
 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")



reply via email to

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