guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: Add r-sodium.


From: guix-commits
Subject: 01/04: gnu: Add r-sodium.
Date: Thu, 4 Feb 2021 06:13:24 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit c3984a1382e26daab860ab1af95322bccb9613aa
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Feb 4 11:21:36 2021 +0100

    gnu: Add r-sodium.
    
    * gnu/packages/cran.scm (r-sodium): New variable.
---
 gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 874a77c..df1df32 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]