summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-credentials/package.py
blob: 8ac8114ba6a88c5aeafc41cc3e298ab1078c9b3c (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-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 RCredentials(RPackage):
    """Tools for Managing SSH and Git Credentials.

    Setup and retrieve HTTPS and SSH credentials for use with 'git' and other
    services. For HTTPS remotes the package interfaces the 'git-credential'
    utility which 'git' uses to store HTTP usernames and passwords. For SSH
    remotes we provide convenient functions to find or generate appropriate SSH
    keys. The package both helps the user to setup a local git installation,
    and also provides a back-end for git/ssh client libraries to authenticate
    with existing user credentials."""

    cran = "credentials"

    license("MIT")

    version("1.3.2", sha256="2ffa7c11bedbfa034adf553d0a2f2e4f6a496b858af753a09a89219cff9028b8")
    version("1.3.0", sha256="c119ec26fd97b977c3b0cd1eb8fad3c59b84df6262c3adbf5ee9f3d6c9903ff1")

    depends_on("r-openssl@1.3:", type=("build", "run"))
    depends_on("r-sys@2.1:", type=("build", "run"))
    depends_on("r-curl", type=("build", "run"))
    depends_on("r-jsonlite", type=("build", "run"))
    depends_on("r-askpass", type=("build", "run"))
    depends_on("git", type="run")