aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-06-17 18:08:39 -0700
committerEfraim Flashner <efraim@flashner.co.il>2020-11-22 19:44:42 +0200
commit93b14be52e2ae7c0be7dce5005262ca2dab77985 (patch)
treea687fa37024bb7b45d83539587a7902f58ff047f
parent863c66e3061118449a02e78be863d88bd877b70d (diff)
downloadguix-93b14be52e2ae7c0be7dce5005262ca2dab77985.tar
guix-93b14be52e2ae7c0be7dce5005262ca2dab77985.tar.gz
gnu: Add rust-thrussh-libsodium-0.1.
* gnu/packages/crates-io.scm (rust-thrussh-libsodium-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6fcd0ab21a..7dcbdf72e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39,6 +39,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crates-gtk)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages fontutils)
@@ -28941,6 +28942,34 @@ fixed set of worker threads.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-thrussh-libsodium-0.1
+ (package
+ (name "rust-thrussh-libsodium")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thrussh-libsodium" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fjssjiwnmbxjvajk37l7k0fcw1ys97j7n8bpn3q3bbnz2qfrphv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libsodium" ,libsodium)))
+ (home-page "https://nest.pijul.com/pijul_org/thrussh")
+ (synopsis "Straightforward bindings to libsodium")
+ (description
+ "You can bind to libsodium from Rust with this crate.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-time-0.2
(package
(name "rust-time")