summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-viridis/package.py
blob: d71d0654b0961c4b21570857e62fbdc1cf900152 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class RViridis(RPackage):
    """viridis: Default Color Maps from 'matplotlib'"""

    homepage = "https://github.com/sjmgarnier/viridis"
    url      = "https://cran.r-project.org/src/contrib/viridis_0.4.0.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/viridis"

    version('0.4.0', 'f874384cbedf459f6c309ddb40b354ea')

    depends_on('r@2.1.0:')
    depends_on('r-viridislite@0.2.0:', type=('build', 'run'))
    depends_on('r-ggplot2@1.0.1:', type=('build', 'run'))
    depends_on('r-gridextra', type=('build', 'run'))