summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-bslib/package.py
blob: 97437fffc6b12afc35c32fa70cffe6df5bd654bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2013-2022 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 RBslib(RPackage):
    """Custom 'Bootstrap' 'Sass' Themes for 'shiny' and 'rmarkdown'.

    Simplifies custom 'CSS' styling of both 'shiny' and 'rmarkdown' via
    'Bootstrap' 'Sass'. Supports both 'Bootstrap' 3 and 4 as well as their
    various 'Bootswatch' themes. An interactive widget is also provided for
    previewing themes in real time."""

    cran = "bslib"

    version('0.3.1', sha256='5f5cb56e5cab9039a24cd9d70d73b69c2cab5b2f5f37afc15f71dae0339d9849')

    depends_on('r@2.10:', type=('build', 'run'))
    depends_on('r-htmltools@0.5.2:', type=('build', 'run'))
    depends_on('r-jsonlite', type=('build', 'run'))
    depends_on('r-sass@0.4.0:', type=('build', 'run'))
    depends_on('r-jquerylib@0.1.3:', type=('build', 'run'))
    depends_on('r-rlang', type=('build', 'run'))