aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-01-20 15:01:25 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-01-20 17:18:58 +0100
commita9650ccf6579bb1dbae9c0eb6a38a77d03cd2602 (patch)
tree77770fd793ab602564d1d4658581677b8f4c8122
parent245162184d933875415348333ae9b24bf02b1ceb (diff)
downloadguix-a9650ccf6579bb1dbae9c0eb6a38a77d03cd2602.tar.gz
guix-a9650ccf6579bb1dbae9c0eb6a38a77d03cd2602.zip
gnu: Add r-gert.
* gnu/packages/cran.scm (r-gert): New variable.
-rw-r--r--gnu/packages/cran.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index cd547d12d4..d65ff97d1c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9855,6 +9855,41 @@ provides a back-end for git/ssh client libraries to authenticate with existing
user credentials.")
(license license:expat)))
+(define-public r-gert
+ (package
+ (name "r-gert")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "gert" version))
+ (sha256
+ (base32
+ "1lq4hgv2727lwcv8vha5af26nslj99rjxjrgflshmmcihawpls1n"))))
+ (properties `((upstream-name . "gert")))
+ (build-system r-build-system)
+ (inputs
+ `(("libgit2" ,libgit2)
+ ("zlib" ,zlib)))
+ (propagated-inputs
+ `(("r-askpass" ,r-askpass)
+ ("r-credentials" ,r-credentials)
+ ("r-openssl" ,r-openssl)
+ ("r-rstudioapi" ,r-rstudioapi)
+ ("r-zip" ,r-zip)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("r-knitr" ,r-knitr)))
+ (home-page "https://docs.ropensci.org/gert/")
+ (synopsis "Simple Git client for R")
+ (description
+ "This package provides a simple git client for R based on libgit2 with
+support for SSH and HTTPS remotes. All functions in gert use basic R data
+types (such as vectors and data-frames) for their arguments and return values.
+User credentials are shared with command line git through the
+@code{git-credential} store and SSH keys stored on disk or ssh-agent.")
+ (license license:expat)))
+
(define-public r-usethis
(package
(name "r-usethis")