diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-08-31 15:24:03 +0200 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-09-03 14:31:50 +0200 |
commit | b12636e6bb0a22a333b1b99e3cf20f35c58c5c56 (patch) | |
tree | 5c9f38c21d758ec67a3283557093f4cc2fb15ce4 | |
parent | 38b327a9eef8da31821879ed9a2039e36d3d5e7c (diff) | |
download | guix-b12636e6bb0a22a333b1b99e3cf20f35c58c5c56.tar.gz |
gnu: Add r-colorspace.
* gnu/packages/statistics.scm (r-colorspace): New variable.
-rw-r--r-- | gnu/packages/statistics.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index ac7cb4677e..924c6a5890 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -22,6 +22,7 @@ #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system gnu) + #:use-module (guix build-system r) #:use-module (gnu packages) #:use-module (gnu packages compression) #:use-module (gnu packages gcc) @@ -119,3 +120,24 @@ and clustering. It also provides robust support for producing publication-quality data plots. A large amount of 3rd-party packages are available, greatly increasing its breadth and scope.") (license license:gpl3+))) + +(define-public r-colorspace + (package + (name "r-colorspace") + (version "1.2-6") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cran/src/contrib/colorspace_" + version ".tar.gz")) + (sha256 + (base32 "0y8n4ljwhbdvkysdwgqzcnpv107pb3px1jip3k6svv86p72nacds")))) + (build-system r-build-system) + (home-page "http://cran.r-project.org/web/packages/colorspace") + (synopsis "Color space manipulation") + (description + "This package carries out a mapping between assorted color spaces +including RGB, HSV, HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar +CIELAB. Qualitative, sequential, and diverging color palettes based on HCL +colors are provided.") + (license license:bsd-3))) |