From 6983178b06f1efe61dc513d5b3fe1673c63ff47d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 8 Sep 2019 00:01:25 +0200 Subject: gnu: Add r-systemfonts. * gnu/packages/cran.scm (r-systemfonts): New variable. --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 44913e53f7..bdfc3fb2c9 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -15244,3 +15244,32 @@ It is an indirect measure of test quality and completeness. This package is compatible with any testing methodology or framework and tracks coverage of both R code and compiled C/C++/FORTRAN code.") (license license:gpl3))) + +(define-public r-systemfonts + (package + (name "r-systemfonts") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "systemfonts" version)) + (sha256 + (base32 + "0m0ljid683xcam2f14x7k2zv1yx4npac38a3gfv11vhxfbnpgp0z")))) + (properties `((upstream-name . "systemfonts"))) + (build-system r-build-system) + (inputs + `(("fontconfig" ,fontconfig) + ("freetype" ,freetype) + ("zlib" ,zlib))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/r-lib/systemfonts") + (synopsis "System native font finding") + (description + "This package provides system native access to the font catalogue. As +font handling varies between systems it is difficult to correctly locate +installed fonts across different operating systems. The 'systemfonts' package +provides bindings to the native libraries for finding font files that can then +be used further by e.g. graphic devices.") + (license license:expat))) -- cgit v1.2.3