diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-02-04 11:21:36 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-02-04 12:10:22 +0100 |
commit | c3984a1382e26daab860ab1af95322bccb9613aa (patch) | |
tree | b07312c62dcd72a42f297e0133ccdd2d6a20bb46 | |
parent | eae865c134ebb8b7432572288e8721794d6a9b87 (diff) | |
download | guix-c3984a1382e26daab860ab1af95322bccb9613aa.tar guix-c3984a1382e26daab860ab1af95322bccb9613aa.tar.gz |
gnu: Add r-sodium.
* gnu/packages/cran.scm (r-sodium): New variable.
-rw-r--r-- | gnu/packages/cran.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 874a77c552..df1df32c82 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -63,6 +63,7 @@ #:use-module (gnu packages bioinformatics) #:use-module (gnu packages c) #:use-module (gnu packages compression) + #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages fontutils) @@ -10857,6 +10858,33 @@ Anderson-Darling Distribution\".") ;; Any version of the GPL. (license license:gpl3+))) +(define-public r-sodium + (package + (name "r-sodium") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "sodium" version)) + (sha256 + (base32 + "1zxzi8xvxnhgcd5qrylf08nz1cdq3aslrswjas440qg63ypmbf6w")))) + (properties `((upstream-name . "sodium"))) + (build-system r-build-system) + (inputs + `(("libsodium" ,libsodium))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("r-knitr" ,r-knitr))) + (home-page "https://github.com/jeroen/sodium") + (synopsis "R bindings to the libsodium crypto library") + (description + "This package provides bindings to libsodium: a library for encryption, +decryption, signatures, password hashing and more. Sodium uses curve25519, a +Diffie-Hellman function by Daniel Bernstein, which has become very popular +after it was discovered that the NSA had backdoored Dual EC DRBG.") + (license license:expat))) + (define-public r-softimpute (package (name "r-softimpute") |