mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: libsecp256k1: Update to 0.5.1.
* gnu/packages/crypto.scm (libsecp256k1): Update to 0.5.1. [source]: Add snippet to remove pre-generated files. [arguments]: Remove --enable-module-ecdh and --enable-module-schnorrsig from configure-flags as they are enabled by default. Change-Id: I418ee47c1761ddae9cf4684b4c0ab49768b3f523 Co-authored-by: Jean-Pierre De Jesus DIAZ <jean@foundation.xyz> Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
parent
10d04c8b2f
commit
1bb9da0895
1 changed files with 8 additions and 4 deletions
|
@ -1078,7 +1078,7 @@ (define-public enchive
|
|||
(define-public libsecp256k1
|
||||
(package
|
||||
(name "libsecp256k1")
|
||||
(version "0.3.2")
|
||||
(version "0.5.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -1087,13 +1087,17 @@ (define-public libsecp256k1
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"12wksk7bi3yfzmk1zwh5b6846zcaycqz1w4w4p23apjc8da4jwpn"))))
|
||||
"1f3nq1dg6afbwp45m2rbndd8mpvx7hhggmzji22csyzwhq3fz2r1"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; These files are pre-generated, the build system is able to
|
||||
;; re-generate those.
|
||||
#~(for-each delete-file '("src/precomputed_ecmult.c"
|
||||
"src/precomputed_ecmult_gen.c")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("--enable-module-recovery"
|
||||
"--enable-experimental"
|
||||
"--enable-module-ecdh"
|
||||
"--enable-module-schnorrsig"
|
||||
"--enable-shared"
|
||||
"--disable-static"
|
||||
"--disable-benchmark")))
|
||||
|
|
Loading…
Reference in a new issue