From 53bd76d040b0e986bab8a276666cb1b4aefbfbaa Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 3 Jan 2025 13:25:51 +0200 Subject: [PATCH] gnu: Add rust-thrussh-libsodium-0.2. * gnu/packages/crates-io.scm (rust-thrussh-libsodium-0.2): New variable. Change-Id: I73af7e20ea54ce44a4b74184bc9ff5093d4278d2 --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4f8a3dec45..f3cf8e53cb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -80563,6 +80563,25 @@ (define-public rust-thrussh-libsodium-0.3 "This package provides straightforward bindings to libsodium.") (license (list license:asl2.0 license:expat)))) +(define-public rust-thrussh-libsodium-0.2 + (package + (inherit rust-thrussh-libsodium-0.3) + (name "rust-thrussh-libsodium") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-libsodium" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07lscwsfrh02hqnjw62wyknwmydiqwq4jz1gg1g25xygnh79qksz")))) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libsodium-sys" ,rust-libsodium-sys-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + (define-public rust-tikv-jemalloc-sys-0.6 (package (name "rust-tikv-jemalloc-sys")