gnu: python-axolotl-curve25519: Fix build.

* gnu/packages/python-crypto.scm (python-axolotl-curve25519)[build-system]:
Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.
[arguments]: Add relax-gcc-14-strictness phase.

Change-Id: Ibe340ca2db6bd7a73a6393268ee96aa048224b2d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Zheng Junjie 2025-07-19 06:47:24 +08:00 committed by Sharlatan Hellseher
parent b22edc407e
commit 4edfdcff5a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -28,7 +28,7 @@
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
;;; Copyright © 2023 Juliana Sims <juli@incana.org>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023, 2025 Zheng Junjie <z572@z572.online>
;;; Copyright © 2024 jgart <jgart@dismail.de>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
@ -680,7 +680,16 @@ OpenSSL library.")
(sha256
(base32
"18v3rfyv7xi26fb97nw1xc0l6x8wi0i4xj8dlq4gblpbjxiac187"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(native-inputs (list python-setuptools python-wheel))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-gcc-14-strictness
(lambda _
(setenv "CFLAGS"
(string-append "-g -O2 -Wno-error=int-conversion")))))))
(home-page "https://github.com/tgalal/python-axolotl-curve25519")
(synopsis "Python wrapper for curve25519 library")
(description "This is a python wrapper for the curve25519 library