From a889f1f30b870b721e0656d70a99763aaa09ce73 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2025 10:14:30 +0200 Subject: gnu: Add rust-sequoia-gpg-agent-0.4. * gnu/packages/sequoia.scm (rust-sequoia-gpg-agent-0.4): New variable. Change-Id: I7ef44782382c1983058685a28a0f5a77f03f2e38 --- gnu/packages/sequoia.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index d907a95f84..0d73b72ca1 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -295,6 +295,40 @@ than just headers; it requires tight integration with the MUA.") "This package provides a library for interacting with @code{GnuPG's} gpg-agent.") (license license:lgpl2.0+))) +(define-public rust-sequoia-gpg-agent-0.4 + (package + (inherit rust-sequoia-gpg-agent-0.5) + (name "rust-sequoia-gpg-agent") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-gpg-agent" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "119njpmhg0is0vlba199bmyp7fi19w8y555i89njkyrfv7yvakds")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-futures" ,rust-futures-0.3) + ("rust-lalrpop" ,rust-lalrpop-0.17) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.17) + ("rust-libc" ,rust-libc-0.2) + ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-stfu8" ,rust-stfu8-0.2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))))) + (define-public rust-sequoia-ipc-0.35 (package (name "rust-sequoia-ipc") -- cgit v1.2.3