[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/150: gnu: Add r-credentials.
From: |
guix-commits |
Subject: |
01/150: gnu: Add r-credentials. |
Date: |
Wed, 20 Jan 2021 11:20:33 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 245162184d933875415348333ae9b24bf02b1ceb
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jan 20 14:59:31 2021 +0100
gnu: Add r-credentials.
* gnu/packages/cran.scm (r-credentials): New variable.
---
gnu/packages/cran.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 40f8e82..cd547d1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9811,6 +9811,50 @@ when building command line applications. They fall back
to alternatives on
terminals that do not support Unicode.")
(license license:expat)))
+(define-public r-credentials
+ (package
+ (name "r-credentials")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "credentials" version))
+ (sha256
+ (base32
+ "1w9zj34xdwz9bszsvhv2cbgq96y5sgxbh7ndn31pgfcpzlkfq6f1"))))
+ (properties `((upstream-name . "credentials")))
+ (build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'setenv-HOME
+ (lambda _
+ ;; This is necessary because git looks for $HOME/.gitconfig
+ (setenv "HOME" "/tmp")
+ #t)))))
+ (inputs
+ `(("git" ,git-minimal)))
+ (propagated-inputs
+ `(("r-askpass" ,r-askpass)
+ ("r-curl" ,r-curl)
+ ("r-jsonlite" ,r-jsonlite)
+ ("r-openssl" ,r-openssl)
+ ("r-sys" ,r-sys)))
+ (native-inputs
+ `(("r-knitr" ,r-knitr)))
+ (home-page "https://docs.ropensci.org/credentials/")
+ (synopsis "Tools for managing SSH and Git credentials")
+ (description
+ "This package assists you in setting up and retrieving of HTTPS and SSH
+credentials for use with git and other services. For HTTPS remotes the
+package interfaces the @command{git-credential} utility which @command{git}
+uses to store HTTP usernames and passwords. For SSH remotes this package
+provides 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.")
+ (license license:expat)))
+
(define-public r-usethis
(package
(name "r-usethis")
- branch master updated (c67ff56 -> ee3bae2), guix-commits, 2021/01/20
- 01/150: gnu: Add r-credentials.,
guix-commits <=
- 03/150: gnu: Add r-lightgbm., guix-commits, 2021/01/20
- 04/150: gnu: Add r-scattermore., guix-commits, 2021/01/20
- 05/150: gnu: Add r-labelled., guix-commits, 2021/01/20
- 02/150: gnu: Add r-gert., guix-commits, 2021/01/20
- 06/150: gnu: r-foreign: Update to 0.8-81., guix-commits, 2021/01/20
- 09/150: gnu: r-diffobj: Update to 0.3.3., guix-commits, 2021/01/20
- 12/150: gnu: r-jsonlite: Update to 1.7.2., guix-commits, 2021/01/20
- 07/150: gnu: r-httpuv: Update to 1.5.5., guix-commits, 2021/01/20
- 08/150: import/cran: Add more invalid package names to ignore., guix-commits, 2021/01/20
- 10/150: gnu: r-rticles: Update to 0.18., guix-commits, 2021/01/20