summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-28 16:12:06 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-28 16:27:33 +0100
commit9d3a46721423488d7294fbedaccff3dcc34d7854 (patch)
tree6a1c5878037cbbc5fdaf03c89b9b1cce1a68846e /gnu/packages/cran.scm
parent2b106a8d71c90df54e94ec5356e0aebcc5245416 (diff)
downloadguix-9d3a46721423488d7294fbedaccff3dcc34d7854.tar.gz
gnu: Add r-askpass.
* gnu/packages/cran.scm (r-askpass): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 76314ffd38..1040444ee9 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -108,6 +108,27 @@ interrupts and timeouts.  This provides the basis for a sandboxing
 mechanism.")
     (license license:expat)))
 
+(define-public r-askpass
+  (package
+    (name "r-askpass")
+    (version "1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "askpass" version))
+       (sha256
+        (base32
+         "07q0ik8jzk44vpwh48rr3fnpd7dzsdhjjsl4l850rffv3dyq4h6v"))))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-sys" ,r-sys)))
+    (home-page "https://github.com/jeroen/askpass")
+    (synopsis "Safe password entry for R")
+    (description
+     "This package provides cross-platform utilities for prompting the user
+for credentials or a passphrase, for example to authenticate with a server or
+read a protected key.")
+    (license license:expat)))
+
 (define-public r-vegan
   (package
     (name "r-vegan")