~ruther/guix-local

4edfdcff5a7b19d90febb5ba9c06fbe75d3c93d7 — Zheng Junjie 10 months ago b22edc4
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>
1 files changed, 11 insertions(+), 2 deletions(-)

M gnu/packages/python-crypto.scm
M gnu/packages/python-crypto.scm => gnu/packages/python-crypto.scm +11 -2
@@ 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