mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: rust-sct-0.5: Fix build.
* gnu/packages/crates-io.scm (rust-sct-0.5)[arguments]: Add a phase to build the curve25519 tables. [native-inputs]: Add clang, perl, python-2.
This commit is contained in:
parent
dc2fa72266
commit
1a17603940
1 changed files with 12 additions and 1 deletions
|
@ -54220,7 +54220,18 @@ (define-public rust-sct-0.5
|
|||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-ring" ,rust-ring-0.14)
|
||||
("rust-untrusted" ,rust-untrusted-0.6))))))
|
||||
("rust-untrusted" ,rust-untrusted-0.6))
|
||||
#: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-sct-0.4
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue