[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
466/471: gnu: rust-webpki-0.18: Fix build.
From: |
guix-commits |
Subject: |
466/471: gnu: rust-webpki-0.18: Fix build. |
Date: |
Wed, 3 May 2023 09:29:27 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 22e5088b3ed09eb2f064314f75fffdf6c50aca88
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Apr 25 14:36:58 2023 +0300
gnu: rust-webpki-0.18: Fix build.
* gnu/packages/crates-io.scm (rust-webpki-0.18)[inherit]: Inherit from
rust-webpki-0.19.
[arguments]: Add a phase to build the curve25519 tables.
---
gnu/packages/crates-io.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ffa2c2ffe0..872b3d2127 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71508,7 +71508,7 @@ Verification.")
(define-public rust-webpki-0.18
(package
- (inherit rust-webpki-0.21)
+ (inherit rust-webpki-0.19)
(name "rust-webpki")
(version "0.18.1")
(source
@@ -71524,7 +71524,16 @@ Verification.")
(("rust-ring" ,rust-ring-0.13)
("rust-untrusted" ,rust-untrusted-0.6))
#:cargo-development-inputs
- (("rust-base64" ,rust-base64-0.9))))))
+ (("rust-base64" ,rust-base64-0.9))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'build-curve25519-tables
+ (lambda* (#:key vendor-dir #:allow-other-keys)
+ (with-directory-excursion
+ (dirname (car (find-files vendor-dir
"make_curve25519_tables.py")))
+ (with-output-to-file "curve25519_tables.h"
+ (lambda _
+ (invoke "python" "make_curve25519_tables.py")))))))))))
(define-public rust-webpki-roots-0.22
(package
- 437/471: gnu: Add rust-ndk-sys-0.4., (continued)
- 437/471: gnu: Add rust-ndk-sys-0.4., guix-commits, 2023/05/03
- 441/471: gnu: Add rust-owned-ttf-parser-0.19., guix-commits, 2023/05/03
- 444/471: gnu: rust-freetype-sys-0.13: Unbundle freetype2., guix-commits, 2023/05/03
- 452/471: gnu: rust-rustls-0.18: Skip tests., guix-commits, 2023/05/03
- 454/471: gnu: rust-rustls-ffi-0.8: Add missing input., guix-commits, 2023/05/03
- 460/471: gnu: rust-password-hash-0.3: Fix inputs., guix-commits, 2023/05/03
- 462/471: gnu: rust-tokio-rustls-0.23: Add missing input., guix-commits, 2023/05/03
- 457/471: gnu: rust-webpki-roots-0.22: Add missing input., guix-commits, 2023/05/03
- 461/471: gnu: rust-trust-dns-rustls-0.19: Add missing input., guix-commits, 2023/05/03
- 470/471: gnu: gdb/pinned: Move to gdb-12.1., guix-commits, 2023/05/03
- 466/471: gnu: rust-webpki-0.18: Fix build.,
guix-commits <=
- 270/471: gnu: rust-similar-asserts-1: Update to 1.4.2., guix-commits, 2023/05/03
- 406/471: gnu: Add rust-alacritty-config-0.1., guix-commits, 2023/05/03
- 426/471: gnu: Add rust-glutin-egl-sys-0.4., guix-commits, 2023/05/03
- 425/471: gnu: rust-toml-edit-0.19: Update to 0.19.8., guix-commits, 2023/05/03
- 436/471: gnu: Add rust-android-properties-0.2., guix-commits, 2023/05/03
- 434/471: gnu: Add rust-c-vec-2., guix-commits, 2023/05/03
- 448/471: gnu: Add rust-strict-num-0.1., guix-commits, 2023/05/03
- 464/471: gnu: rust-sct-0.5: Fix build., guix-commits, 2023/05/03
- 327/471: gnu: rust-windows-x86-64-gnu-0.42: Update to 0.42.2., guix-commits, 2023/05/03
- 368/471: gnu: rust-pledge-0.3: Update to 0.4.2., guix-commits, 2023/05/03