[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
315/371: gnu: Add rust-sequoia-autocrypt-0.25.
From: |
guix-commits |
Subject: |
315/371: gnu: Add rust-sequoia-autocrypt-0.25. |
Date: |
Thu, 25 May 2023 10:48:54 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 9b4e05303eb922804ebfcd6bcc371a315d8bf97a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 17:36:31 2023 +0300
gnu: Add rust-sequoia-autocrypt-0.25.
* gnu/packages/crates-io.scm (rust-sequoia-autocrypt-0.25): Replace
rust-sequoia-autocrypt-0.23.
[arguments]: Don't skip build. Add a feature-flag for
sequoia-openpgp/crypto-nettle. Remove phase adjusting crypto features.
[cargo-development-inputs]: Add rust-sequoia-openpgp-1.
[inputs]: Add gmp, nettle.
[native-inputs]: Add clang, pkg-config.
---
gnu/packages/sequoia.scm | 39 +++++++++++++++++++--------------------
1 file changed, 19 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 9fc3eecf45..45502a71c5 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -40,30 +40,29 @@
#:use-module (gnu packages rust)
#:use-module (gnu packages tls))
-(define-public rust-sequoia-autocrypt-0.23
+(define-public rust-sequoia-autocrypt-0.25
(package
(name "rust-sequoia-autocrypt")
- (version "0.23.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "sequoia-autocrypt" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0skj0dv15341v470g6w5pggsl0iy27qb8h24rr8k6rq7vxdjxl7g"))))
+ (version "0.25.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-autocrypt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0796mn8kwrpfc8qzliwyyy62mrg2w0j6ax8929jwrkibvwy2axi2"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-base64" ,rust-base64-0.13)
- ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-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))))))))
+ `(#:features '("sequoia-openpgp/crypto-nettle")
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))
+ #:cargo-development-inputs
+ (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))))
+ (native-inputs
+ (list clang pkg-config))
+ (inputs
+ (list gmp nettle))
(home-page "https://sequoia-pgp.org/")
(synopsis "Deal with Autocrypt encoded data")
(description "This crate implements low-level functionality like encoding
- 282/371: gnu: rust-os-str-bytes-6: Update to 6.5.0., (continued)
- 282/371: gnu: rust-os-str-bytes-6: Update to 6.5.0., guix-commits, 2023/05/25
- 286/371: gnu: rust-pest-meta-2: Update to 2.6.0., guix-commits, 2023/05/25
- 294/371: gnu: rust-rustversion-1: Update to 1.0.12., guix-commits, 2023/05/25
- 297/371: gnu: Add rust-smart-default-0.7., guix-commits, 2023/05/25
- 299/371: gnu: rust-snapbox-0.4: Update to 0.4.11., guix-commits, 2023/05/25
- 300/371: gnu: Add rust-state-0.5., guix-commits, 2023/05/25
- 301/371: gnu: Add rust-subplotlib-derive-0.7., guix-commits, 2023/05/25
- 307/371: gnu: rust-uniquote-3: Update to 3.3.0., guix-commits, 2023/05/25
- 306/371: gnu: rust-trycmd-0.14: Update to 0.14.16., guix-commits, 2023/05/25
- 312/371: gnu: Add rust-sequoia-policy-config-0.6., guix-commits, 2023/05/25
- 315/371: gnu: Add rust-sequoia-autocrypt-0.25.,
guix-commits <=
- 316/371: gnu: rust-sequoia-openpgp-1: Update to 1.16.0., guix-commits, 2023/05/25
- 324/371: gnu: Add rust-win-crypto-ng-0.5., guix-commits, 2023/05/25
- 327/371: gnu: Add rust-twofish-0.7., guix-commits, 2023/05/25
- 329/371: gnu: Add rust-test-log-0.2., guix-commits, 2023/05/25
- 339/371: gnu: Add rust-p256-0.13., guix-commits, 2023/05/25
- 346/371: gnu: Add rust-idea-0.5., guix-commits, 2023/05/25
- 350/371: gnu: Add rust-file-diff-1., guix-commits, 2023/05/25
- 357/371: gnu: Add rust-colorchoice-1., guix-commits, 2023/05/25
- 359/371: gnu: Add rust-codegenrs-2., guix-commits, 2023/05/25
- 151/371: gnu: Remove rust-cbindgen-0.14., guix-commits, 2023/05/25