diff options
| author | Zheng Junjie <z572@z572.online> | 2025-07-19 06:47:24 +0800 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-19 00:03:40 +0100 |
| commit | 4edfdcff5a7b19d90febb5ba9c06fbe75d3c93d7 (patch) | |
| tree | 0043724a281e4778cda805d775fa1d2ca4850397 /gnu/packages/python-crypto.scm | |
| parent | b22edc407e34848745106ce29040bbfa29aeeec3 (diff) | |
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>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index d004f6a69ee..43c781fb815 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -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 |
