mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
056468dc5f
* gnu/packages/cran.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * gnu/packages/statistics.scm (r-colorspace): Move to cran.scm.
44 lines
1.7 KiB
Scheme
44 lines
1.7 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
|
;;;
|
|
;;; This file is part of GNU Guix.
|
|
;;;
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
;;; under the terms of the GNU General Public License as published by
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
;;; your option) any later version.
|
|
;;;
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; GNU General Public License for more details.
|
|
;;;
|
|
;;; You should have received a copy of the GNU General Public License
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
(define-module (gnu packages cran)
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix download)
|
|
#:use-module (guix utils)
|
|
#:use-module (guix build-system r))
|
|
|
|
(define-public r-colorspace
|
|
(package
|
|
(name "r-colorspace")
|
|
(version "1.3-2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (cran-uri "colorspace" version))
|
|
(sha256
|
|
(base32 "0d1ya7hx4y58n5ivwmdmq2zgh0g2sbv7ykh13n85c1355csd57yx"))))
|
|
(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)))
|