me
/
guix
Archived
1
0
Fork 0

gnu: rust-webpki-0.19: Fix build.

* gnu/packages/crates-io.scm (rust-webpki-0.19)[arguments]: Add a phase
to build the curve25519 tables.
[native-inputs]: Add clang, perl, python-2.
master
Efraim Flashner 2023-04-25 14:36:11 +03:00
parent 1a17603940
commit abef54ef4d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 12 additions and 1 deletions

View File

@ -71493,7 +71493,18 @@ Verification.")
(("rust-ring" ,rust-ring-0.14)
("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")))))))))
(native-inputs
(list clang perl python-2))))
(define-public rust-webpki-0.18
(package