[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
312/472: gnu: rust-sequoia-openpgp-1: Update to 1.16.0.
From: |
guix-commits |
Subject: |
312/472: gnu: rust-sequoia-openpgp-1: Update to 1.16.0. |
Date: |
Tue, 18 Jul 2023 14:09:19 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 1386abab052adbe7657f19b04d7f8b4664e90b21
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 17:38:35 2023 +0300
gnu: rust-sequoia-openpgp-1: Update to 1.16.0.
* gnu/packages/sequoia.scm (rust-sequoia-openpgp-1): Update to 1.16.0.
[source]: Remove snippet.
[arguments]: Don't skip build. Add a feature-flag to use
sequoia-openpgp/crypto-nettle. Add cargo-test-flags.
[cargo-inputs]: Add rust-aes-0.8, rust-block-padding-0.3,
rust-blowfish-0.9, rust-botan-0.10, rust-cast5-0.11, rust-cfb-mode-0.8,
rust-cipher-0.4, rust-des-0.8, rust-digest-0.10, rust-eax-0.5,
rust-ecb-0.1, rust-ecdsa-0.16, rust-ed25519-1, rust-ed25519-dalek-1,
rust-generic-array-0.14, rust-getrandom-0.2, rust-idea-0.5,
rust-md-5-0.10, rust-num-bigint-dig-0.8, rust-once-cell-1,
rust-openssl-0.10, rust-openssl-sys-0.9, rust-p256-0.13, rust-rand-0.7,
rust-rand-0.8, rust-rand-core-0.6, rust-ripemd-0.1, rust-rsa-0.9,
rust-sha-1-0.10, rust-twofish-0.7, rust-typenum-1,
rust-win-crypto-ng-0.5, rust-winapi-0.3, rust-x25519-dalek-ng-1.
Replace rust-base64-0.13 with 0.21, rust-idna-0.2 with 0.3, Remove
rust-backtrace-0.3, rust-itertools-0.10, rust-plotters-0.3,
rust-unicode-normalization-0.1.
[cargo-development-inputs]: Replace rust-criterion-0.3 with 0.4,
rust-quickcheck-0.9 with 1, rust-rand-0.7 with 0.8, rust-rpassword-5
with 6.
---
gnu/packages/sequoia.scm | 93 +++++++++++++++++++++++++++---------------------
1 file changed, 52 insertions(+), 41 deletions(-)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 45502a71c5..ad84904758 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -209,75 +209,86 @@ HKP protocol, and searching and publishing Web Key
Directories.")
(define-public rust-sequoia-openpgp-1
(package
(name "rust-sequoia-openpgp")
- (version "1.6.0")
+ (version "1.16.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sequoia-openpgp" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1mdprsijszkg2j6jk1iq7q1z9yikq598y12m5zbv94fs37xlx3qm"))
- (modules '((guix build utils)))
- (snippet
- ;; Remove dependencies on rust-crypto and win32-cng
- '(let* ((other-crypto-pkgs
- (list ;; rust-crypto
- "aes" "block-modes" "block-padding" "blowfish" "cast5"
- "cipher" "des" "digest" "eax" "ed25519-dalek"
- "generic-array" "idea" "md-5" "num-bigint-dig" "rand"
- "ripemd160" "rsa" "sha-1" "sha2" "twofish" "typenum"
- "x25519-dalek" "p256" "rand_core" "rand_core" "ecdsa"
- ;; win32-cng
- "eax" "winapi" "win-crypto-ng" "ed25519-dalek"
- "num-bigint-dig"))
- (pkgs-pattern (pk (string-join
- (list "^\\[dependencies\\.("
- (string-join other-crypto-pkgs "|")
- ")\\]")
- ""))))
- (substitute* "Cargo.toml"
- ((pkgs-pattern line name) (string-append "[off." name "]"))
- (("^crypto-cng =" line) (string-append "# " line))
- (("^crypto-rust =" line) (string-append "# " line))
- (("^\\[(target\\.\"cfg\\(windows\\))" line name)
- (string-append "[off." name)))))))
+ (base32 "1z0xl7hnm1p51pyhwdqyzcnl2dhzfjnvssz7hi15ps1hk4zzzvrh"))))
(build-system cargo-build-system)
(native-inputs
(list clang pkg-config))
(inputs
(list gmp nettle))
(arguments
- `(#:skip-build? #t
+ `(#:features '("crypto-nettle")
+ #:cargo-test-flags
+ (list "--release" "--"
+ ;; TODO: Figure out how this test is supposed to fail.
+ "--skip=parse::test::panic_on_short_zip")
#:cargo-inputs
- (("rust-anyhow" ,rust-anyhow-1)
- ("rust-backtrace" ,rust-backtrace-0.3)
- ("rust-base64" ,rust-base64-0.13)
+ (("rust-aes" ,rust-aes-0.8)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-block-padding" ,rust-block-padding-0.3)
+ ("rust-blowfish" ,rust-blowfish-0.9)
+ ("rust-botan" ,rust-botan-0.10)
("rust-buffered-reader" ,rust-buffered-reader-1)
("rust-bzip2" ,rust-bzip2-0.4)
+ ("rust-cast5" ,rust-cast5-0.11)
+ ("rust-cfb-mode" ,rust-cfb-mode-0.8)
("rust-chrono" ,rust-chrono-0.4)
+ ("rust-cipher" ,rust-cipher-0.4)
+ ("rust-des" ,rust-des-0.8)
+ ("rust-digest" ,rust-digest-0.10)
("rust-dyn-clone" ,rust-dyn-clone-1)
+ ("rust-eax" ,rust-eax-0.5)
+ ("rust-ecb" ,rust-ecb-0.1)
+ ("rust-ecdsa" ,rust-ecdsa-0.16)
+ ("rust-ed25519" ,rust-ed25519-1)
+ ("rust-ed25519-dalek" ,rust-ed25519-dalek-1)
("rust-flate2" ,rust-flate2-1)
- ("rust-idna" ,rust-idna-0.2)
- ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-idea" ,rust-idea-0.5)
+ ("rust-idna" ,rust-idna-0.3)
("rust-lalrpop" ,rust-lalrpop-0.19)
("rust-lalrpop-util" ,rust-lalrpop-util-0.19)
- ("rust-lazy-static" ,rust-lazy-static-1) ;; 1.4.0
- ("rust-libc" ,rust-libc-0.2) ;; 0.2.66
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-md-5" ,rust-md-5-0.10)
("rust-memsec" ,rust-memsec-0.6)
("rust-nettle" ,rust-nettle-7)
- ("rust-plotters" ,rust-plotters-0.3)
+ ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-p256" ,rust-p256-0.13)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-core" ,rust-rand-core-0.6)
("rust-regex" ,rust-regex-1)
("rust-regex-syntax" ,rust-regex-syntax-0.6)
+ ("rust-ripemd" ,rust-ripemd-0.1)
+ ("rust-rsa" ,rust-rsa-0.9)
+ ("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.2)
+ ("rust-sha2" ,rust-sha2-0.10)
("rust-thiserror" ,rust-thiserror-1)
- ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)
+ ("rust-twofish" ,rust-twofish-0.7)
+ ("rust-typenum" ,rust-typenum-1)
+ ("rust-win-crypto-ng" ,rust-win-crypto-ng-0.5)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-x25519-dalek-ng" ,rust-x25519-dalek-ng-1)
("rust-xxhash-rust" ,rust-xxhash-rust-0.8))
#:cargo-development-inputs
- ;; keep the development-inputs to allow running tests easily
- (("rust-criterion" ,rust-criterion-0.3)
- ("rust-quickcheck" ,rust-quickcheck-0.9)
- ("rust-rand" ,rust-rand-0.7)
- ("rust-rpassword" ,rust-rpassword-5))))
+ (("rust-criterion" ,rust-criterion-0.4)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rpassword" ,rust-rpassword-6))))
(home-page "https://sequoia-pgp.org/")
(synopsis "OpenPGP data types and associated machinery")
(description "This crate aims to provide a complete implementation of
- 273/472: gnu: Add rust-markup5ever-0.11., (continued)
- 273/472: gnu: Add rust-markup5ever-0.11., guix-commits, 2023/07/18
- 277/472: gnu: Add rust-object-0.30., guix-commits, 2023/07/18
- 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 <=
- 313/472: gnu: Remove libsequoia., guix-commits, 2023/07/18
- 310/472: gnu: Add rust-sequoia-net-0.27., guix-commits, 2023/07/18
- 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