summaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-02-10 21:38:56 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-02-11 01:03:21 +0100
commit3d3003badee5286dc8a2850983854330f3aacfab (patch)
tree8ded6aa35b8536b664e017b8f1b1902c3bc60bbc /gnu/packages/cran.scm
parent4f72a349f14bf14711afc9f041a6d2aa61b4668a (diff)
gnu: Add r-ragg.
* gnu/packages/cran.scm (r-ragg): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f600928662..dca6c75e17 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -26650,3 +26650,36 @@ HarfBuzz library and the bidirectional algorithm in the Fribidi library. This
is a low-level utility package mainly for graphic devices that expands upon
the font tool-set provided by the @code{systemfonts} package.")
(license license:expat)))
+
+(define-public r-ragg
+ (package
+ (name "r-ragg")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "ragg" version))
+ (sha256
+ (base32
+ "0443dhfi7bjfpap041vrnslw3ql3vpsxx18raz2w9nfdb7id8lsc"))))
+ (properties `((upstream-name . "ragg")))
+ (build-system r-build-system)
+ (inputs
+ `(("freetype" ,freetype)
+ ("libjpeg" ,libjpeg-turbo)
+ ("libpng" ,libpng)
+ ("libtiff" ,libtiff)
+ ("zlib" ,zlib)))
+ (propagated-inputs
+ `(("r-systemfonts" ,r-systemfonts)
+ ("r-textshaping" ,r-textshaping)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "https://ragg.r-lib.org")
+ (synopsis "Graphic devices based on AGG")
+ (description
+ "Anti-Grain Geometry (AGG) is a high-quality and high-performance 2D
+drawing library. The ragg package provides a set of graphic devices based on
+AGG to use as alternative to the raster devices provided through the
+@code{grDevices} package.")
+ (license license:expat)))