diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-08-14 19:44:11 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-08-17 17:26:08 +0200 |
commit | eb60149eeecac6276b8c98ee0855d61a2c7a527b (patch) | |
tree | 031ae7d746398b24b9f4f40c2d56cc5a06c45ebc /gnu | |
parent | 5cc79c9c5049540c701fe532a2953b4da2c470bb (diff) | |
download | guix-eb60149eeecac6276b8c98ee0855d61a2c7a527b.tar guix-eb60149eeecac6276b8c98ee0855d61a2c7a527b.tar.gz |
gnu: Add r-png.
* gnu/packages/image.scm (r-png): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/image.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index f1225b33dc..43dc7e6d4c 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -65,6 +65,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) #:use-module (guix build-system python) + #:use-module (guix build-system r) #:use-module (srfi srfi-1)) (define-public libpng @@ -180,6 +181,29 @@ APNG patch provides APNG support to libpng.") (sha256 (base32 "1n2lrzjkm5jhfg2bs10q398lkwbbx742fi27zgdgx0x23zhj0ihg")))))) +(define-public r-png + (package + (name "r-png") + (version "0.1-7") + (source (origin + (method url-fetch) + (uri (cran-uri "png" version)) + (sha256 + (base32 + "0g2mcp55lvvpx4kd3mn225mpbxqcq73wy5qx8b4lyf04iybgysg2")))) + (build-system r-build-system) + (inputs + `(("libpng" ,libpng) + ("zlib" ,zlib))) + (home-page "http://www.rforge.net/png/") + (synopsis "Read and write PNG images") + (description + "This package provides an easy and simple way to read, write and display +bitmap images stored in the PNG format. It can read and write both files and +in-memory raw vectors.") + ;; Any of these GPL versions. + (license (list license:gpl2 license:gpl3)))) + (define-public pngcrunch (package (name "pngcrunch") |