diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-25 09:31:10 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:18:22 +0200 |
commit | 716c9f19a57823b4d81522f23c1670ecae2a5be9 (patch) | |
tree | aee64111481fa87898ef9ab32895aa89d0c61924 /gnu/packages/sequoia.scm | |
parent | 1c5ebf039d2edd8b3a2102e765901f59761b4b84 (diff) |
gnu: Add rust-sequoia-policy-config-0.7.
* gnu/packages/sequoia.scm (rust-sequoia-policy-config-0.7): New
variable.
(rust-sequoia-policy-config-0.6): Inherit from
rust-sequoia-policy-config-0.7.
Change-Id: I7ecaff340104168bd9adf98f1bd8f5249e9c3d06
Diffstat (limited to 'gnu/packages/sequoia.scm')
-rw-r--r-- | gnu/packages/sequoia.scm | 45 |
1 files changed, 35 insertions, 10 deletions
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index 54ceeb1249..cefa8d13e1 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -790,8 +790,42 @@ This Guix package is built to use the nettle cryptographic library.") ("rust-sequoia-rfc2822" ,rust-sequoia-rfc2822-0.9) ("rust-time" ,rust-time-0.1)))))) +(define-public rust-sequoia-policy-config-0.7 + (package + (name "rust-sequoia-policy-config") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-policy-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17alq9dyg9gd26zbc8bcgm0vgwnlghqp0npvh088fc768c05yzb1")))) + (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-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.5)) + #:cargo-development-inputs + (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) + (native-inputs + (list clang pkg-config)) + (inputs + (list gmp nettle)) + (home-page "https://sequoia-pgp.org/") + (synopsis "Configure Sequoia using a configuration file") + (description "Configure Sequoia using a configuration file.") + (license license:lgpl2.0+))) + (define-public rust-sequoia-policy-config-0.6 (package + (inherit rust-sequoia-policy-config-0.7) (name "rust-sequoia-policy-config") (version "0.6.0") (source (origin @@ -801,7 +835,6 @@ This Guix package is built to use the nettle cryptographic library.") (sha256 (base32 "0x42h22kng4dsbfr0a6zdf2j9bcq14r0yr6xdw6rrggj139lazbm")))) - (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") #:cargo-inputs @@ -814,15 +847,7 @@ This Guix package is built to use the nettle cryptographic library.") #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) - (native-inputs - (list clang pkg-config)) - (inputs - (list gmp nettle)) - (home-page "https://sequoia-pgp.org/") - (synopsis "Configure Sequoia using a configuration file") - (description "Configure Sequoia using a configuration file.") - (license license:lgpl2.0+))) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))))) (define-public rust-sequoia-rfc2822-0.9 (package |