From 322e8d85798f32bc0a4f5bf30d4896931046780d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 13 Dec 2019 18:26:59 +0100 Subject: gnu: Add r-sysfonts. * gnu/packages/cran.scm (r-sysfonts): New variable. --- gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index d4bfcfaaa0..2838dcb37a 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))) -- cgit v1.2.3