From 2435fe4a6b5bddb5d78577507665783f732a8680 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 22 May 2023 17:32:27 +0300 Subject: gnu: Add rust-sequoia-cert-store-0.3. * gnu/packages/crates-io.scm (rust-sequoia-cert-store-0.3): New variable. --- gnu/packages/sequoia.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index e7139e9928..af7d20c783 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -71,6 +71,46 @@ and decoding of Autocrypt headers and setup messages. Note: Autocrypt is more than just headers; it requires tight integration with the MUA.") (license license:lgpl2.0+))) +(define-public rust-sequoia-cert-store-0.3 + (package + (name "rust-sequoia-cert-store") + (version "0.3.2") + (source (origin + (method url-fetch) + (uri (crate-uri "sequoia-cert-store" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gmkqn2f23i2xwjwmnaj3dx9l4ir74dyylkw1qsxawxd95i8dk02")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-dirs" ,rust-dirs-5) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rusqlite" ,rust-rusqlite-0.29) + ("rust-sequoia-net" ,rust-sequoia-net-0.27) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs + (list clang pkg-config)) + (inputs + (list gmp nettle openssl sqlite)) + (home-page "https://sequoia-pgp.org/") + (synopsis "Certificate database interface") + (description "This package provides a certificate database interface.") + (license license:lgpl2.0+))) + (define-public rust-sequoia-ipc-0.30 (package (name "rust-sequoia-ipc") -- cgit 1.4.1