summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-bslib/package.py
blob: f664c309595d6eb7e6501720116e59f05d0ae8a4 (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
27
28
29
30
31
32
33
34
35
36
37
# Copyright 2013-2024 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.package 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"

    license("MIT")

    version("0.4.2", sha256="9a40b7a1bbe409af273e1e940d921ab198ea576548f06f055f552f70ff822f19")
    version("0.4.1", sha256="4ebd1fc84cd19b414e8f8c13fb95270fc28ede125b6e58b08c574ca8c9e0e62f")
    version("0.4.0", sha256="fbea4ecec726f23618e825624f1d9c03939f765ca5a490b171ebf95b815475c2")
    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-htmltools@0.5.4:", type=("build", "run"), when="@0.4.2:")
    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"))
    depends_on("r-memoise", type=("build", "run"), when="@0.4.0:")
    depends_on("r-memoise@2.0.1:", type=("build", "run"), when="@0.4.1:")
    depends_on("r-mime", type=("build", "run"), when="@0.4.2:")
    depends_on("r-base64enc", type=("build", "run"), when="@0.4.2:")
    depends_on("r-cachem", type=("build", "run"), when="@0.4.0:")