guix-commits
[Top][All Lists]
Advanced

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

16/47: gnu: Add r-sysfonts.


From: guix-commits
Subject: 16/47: gnu: Add r-sysfonts.
Date: Fri, 13 Dec 2019 16:42:16 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 322e8d85798f32bc0a4f5bf30d4896931046780d
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Dec 13 18:26:59 2019 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d4bfcfa..2838dcb 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -16437,3 +16437,29 @@ introductions, and clickable hints in a Shiny 
application.  It supports both
 static introductions in the UI, and programmatic introductions from the
 server-side.")
     (license license:agpl3+)))
+
+(define-public r-sysfonts
+  (package
+    (name "r-sysfonts")
+    (version "0.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "sysfonts" version))
+       (sha256
+        (base32
+         "0wng902plryf2d8fc7k7m3jx11acz51kb2d91cqbyhq7xpk06z43"))))
+    (properties `((upstream-name . "sysfonts")))
+    (build-system r-build-system)
+    (inputs
+     `(("freetype" ,freetype)
+       ("libpng" ,libpng)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://github.com/yixuan/sysfonts";)
+    (synopsis "Loading fonts into R")
+    (description
+     "This is a package to simplify loading of system fonts and Google Fonts
+into R, in order to support other packages.")
+    (license license:gpl2)))



reply via email to

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