[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
310/472: gnu: Add rust-sequoia-net-0.27.
From: |
guix-commits |
Subject: |
310/472: gnu: Add rust-sequoia-net-0.27. |
Date: |
Tue, 18 Jul 2023 14:09:19 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit aa9da8538ef389ea48d7645fd4da11de6d93622a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 17:32:59 2023 +0300
gnu: Add rust-sequoia-net-0.27.
* gnu/packages/crates-io.scm (rust-sequoia-net-0.27): Replace
rust-sequoia-net-0.23.
[arguments]: Don't skip build. Add feature flags for
sequoia-openpgp/crypto-nettle. Remove phase adjusting crypto features.
[cargo-inputs]: Add rust-base64-0.13, rust-tokio-1,
rust-trust-dns-client-0.22, rust-trust-dns-resolver-0.22. Replace
rust-hyper-0.13 with 0.14, rust-hyper-tls-0.4 with 0.5.
[cargo-development-inputs]: Add rust-hyper-0.14, rust-rand-0.8,
rust-sequoia-openpgp-1.
[inputs]: Add gmp, nettle, openssl.
[native-inputs]: Add clang, pkg-config.
---
gnu/packages/sequoia.scm | 43 ++++++++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index af7d20c783..9fc3eecf45 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -161,41 +161,46 @@ than just headers; it requires tight integration with the
MUA.")
(description "Interprocess communication infrastructure for Sequoia")
(license license:lgpl2.0+)))
-(define-public rust-sequoia-net-0.23
+(define-public rust-sequoia-net-0.27
(package
(name "rust-sequoia-net")
- (version "0.23.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "sequoia-net" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "05gv053zqnb00mrai5hva3i4909hn77bnh4z1g4b29cw5qb52cbl"))))
+ (version "0.27.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-net" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gyk5765hi3s05l64a744f9a4vynfisja92l51az9dpqgfkiw3wn"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:features '("sequoia-openpgp/crypto-nettle")
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
+ ("rust-base64" ,rust-base64-0.13)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-http" ,rust-http-0.2)
- ("rust-hyper" ,rust-hyper-0.13)
- ("rust-hyper-tls" ,rust-hyper-tls-0.4)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-hyper-tls" ,rust-hyper-tls-0.5)
("rust-libc" ,rust-libc-0.2)
("rust-native-tls" ,rust-native-tls-0.2)
("rust-percent-encoding" ,rust-percent-encoding-2)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-trust-dns-client" ,rust-trust-dns-client-0.22)
+ ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.22)
("rust-url" ,rust-url-2)
("rust-zbase32" ,rust-zbase32-0.1))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'remove-other-crypto-features
- (lambda _
- (substitute* "Cargo.toml"
- (("^crypto-cng =" line) (string-append "# " line))
- (("^crypto-rust =" line) (string-append "# " line))))))))
+ #:cargo-development-inputs
+ (("rust-hyper" ,rust-hyper-0.14)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))))
+ (native-inputs
+ (list clang pkg-config))
+ (inputs
+ (list gmp nettle openssl))
(home-page "https://sequoia-pgp.org/")
(synopsis "Discover and publish OpenPGP certificates over the network")
(description "This package provides a crate to access keyservers using the
- 279/472: gnu: rust-pest-2: Update to 2.6.0., (continued)
- 279/472: gnu: rust-pest-2: Update to 2.6.0., guix-commits, 2023/07/18
- 280/472: gnu: rust-pest-derive-2: Update to 2.6.0., guix-commits, 2023/07/18
- 282/472: gnu: rust-pest-meta-2: Update to 2.6.0., guix-commits, 2023/07/18
- 283/472: gnu: Add rust-pkcs1-0.7., guix-commits, 2023/07/18
- 287/472: gnu: Add rust-rsa-0.9., guix-commits, 2023/07/18
- 288/472: gnu: Add rust-rpassword-6., guix-commits, 2023/07/18
- 292/472: gnu: rust-sha-1-0.10: Update to 0.10.5., guix-commits, 2023/07/18
- 291/472: gnu: Add rust-serde-yaml-0.9., guix-commits, 2023/07/18
- 312/472: gnu: rust-sequoia-openpgp-1: Update to 1.16.0., guix-commits, 2023/07/18
- 313/472: gnu: Remove libsequoia., guix-commits, 2023/07/18
- 310/472: gnu: Add rust-sequoia-net-0.27.,
guix-commits <=
- 319/472: gnu: Add rust-wycheproof-0.5., guix-commits, 2023/07/18
- 324/472: gnu: Add rust-trust-dns-client-0.22., guix-commits, 2023/07/18
- 337/472: gnu: Add rust-option-ext-0.2., guix-commits, 2023/07/18
- 325/472: gnu: Add rust-test-log-0.2., guix-commits, 2023/07/18
- 339/472: gnu: Add rust-no-std-compat-0.4., guix-commits, 2023/07/18
- 352/472: gnu: Add rust-curve25519-dalek-ng-4., guix-commits, 2023/07/18
- 346/472: gnu: Add rust-file-diff-1., guix-commits, 2023/07/18
- 353/472: gnu: Add rust-colorchoice-1., guix-commits, 2023/07/18
- 351/472: gnu: Add rust-cvt-0.1., guix-commits, 2023/07/18
- 347/472: gnu: Add rust-fehler-1., guix-commits, 2023/07/18