summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-httr2/package.py
blob: c5f549f59981902359c120478b64ea9146cd1a72 (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
# Copyright 2013-2023 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 RHttr2(RPackage):
    """Perform HTTP Requests and Process the Responses.

    Tools for creating and modifying HTTP requests, then performing them and
    processing the results. 'httr2' is a modern re-imagining of 'httr' that
    uses a pipe-based interface and solves more of the problems that API
    wrapping packages face."""

    cran = "httr2"

    license("MIT")

    version("0.2.2", sha256="5d1ab62541f7817112519f0f9d00d6a2555bab5b2da7f5c6d579b0c307d7f2bf")

    depends_on("r@3.4:", type=("build", "run"))
    depends_on("r-cli@3.0.0:", type=("build", "run"))
    depends_on("r-curl", type=("build", "run"))
    depends_on("r-glue", type=("build", "run"))
    depends_on("r-magrittr", type=("build", "run"))
    depends_on("r-openssl", type=("build", "run"))
    depends_on("r-r6", type=("build", "run"))
    depends_on("r-rappdirs", type=("build", "run"))
    depends_on("r-rlang@1.0.0:", type=("build", "run"))
    depends_on("r-withr", type=("build", "run"))