diff --git a/var/spack/repos/builtin/packages/r-gitcreds/package.py b/var/spack/repos/builtin/packages/r-gitcreds/package.py new file mode 100644 index 0000000000..1760cd89c5 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-gitcreds/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2021 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 RGitcreds(RPackage): + """Query 'git' Credentials from 'R' + + Query, set, delete credentials from the 'git' credential store. Manage + 'GitHub' tokens and other 'git' credentials. This package is to be used by + other packages that need to authenticate to 'GitHub' and/or other 'git' + repositories.""" + + homepage = "https://github.com/r-lib/gitcreds" + url = "https://cloud.r-project.org/src/contrib/gitcreds_0.1.1.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/gitcreds" + + version('0.1.1', sha256='b14aaf4e910a9d2d6c65c93e645f0b0159c00898e669f917f83c03dfedb1dfea') + + depends_on('git', type='run')