diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-31 20:52:35 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:46:08 +0300 |
commit | bc7cd582eb32a10abe9374ac6370a5fcb854ea8a (patch) | |
tree | 92186ab7f249983e5267ab979bb0e8549a4cccd0 | |
parent | 65af5469c0f6261d9ae685f5edf59268270c4ccc (diff) | |
download | guix-bc7cd582eb32a10abe9374ac6370a5fcb854ea8a.tar.gz guix-bc7cd582eb32a10abe9374ac6370a5fcb854ea8a.zip |
gnu: Add rust-sequoia-keystore-0.2.
* gnu/packages/sequoia.scm (rust-sequoia-keystore-0.2): New variable.
Change-Id: I88684b1179009802e429f5046c5cdf119b6f87bd
-rw-r--r-- | gnu/packages/sequoia.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index c61820a2c4..d7b5dd07cb 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -36,6 +36,7 @@ #:use-module (gnu packages multiprecision) #:use-module (gnu packages nettle) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages serialization) #:use-module (gnu packages sqlite) #:use-module (gnu packages tls)) @@ -186,6 +187,50 @@ than just headers; it requires tight integration with the MUA.") "This package provides interprocess communication infrastructure for Sequoia.") (license license:lgpl2.0+))) +(define-public rust-sequoia-keystore-0.2 + (package + (name "rust-sequoia-keystore") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-keystore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11rb2k5v2mc5nf2bafp78nydgcx4gizyxqa9b9lc3d1b73mqv2ad")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-capnp" ,rust-capnp-0.19) + ("rust-capnpc" ,rust-capnpc-0.19) + ("rust-dirs" ,rust-dirs-5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-paste" ,rust-paste-1) + ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.33) + ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.2) + ("rust-sequoia-keystore-softkeys" ,rust-sequoia-keystore-softkeys-0.2) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7)) + #:cargo-development-inputs + (("rust-dircpy" ,rust-dircpy-0.3) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-test-log" ,rust-test-log-0.2) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (native-inputs (list capnproto clang pkg-config)) + (inputs (list nettle)) + (home-page "https://sequoia-pgp.org/") + (synopsis "Sequoia's private key store server") + (description "This package contains sequoia's private key store server.") + (license license:lgpl2.0+))) + (define-public rust-sequoia-keystore-backend-0.2 (package (name "rust-sequoia-keystore-backend") |