~ruther/guix-exprs

d145aad233fa02ec84ca20b7485f97503cd247cd — Rutherther 6 months ago 1f6a5d0
feat: add wheel to python toolchain
1 files changed, 12 insertions(+), 0 deletions(-)

M ruther/packages/python-next.scm
M ruther/packages/python-next.scm => ruther/packages/python-next.scm +12 -0
@@ 36,12 36,24 @@
(define-public python-3.12-wrapped
  ((@@ (gnu packages python) wrap-python3) python-3.12))

(define python-3.12-wheel
  (package/inherit python-wheel
    (properties `(('python-3.12- . #t)
                   ,@(package-properties python-3.12)))
   (inputs
    (modify-inputs (package-inputs python-wheel)
      (append (with-python-3.12-raw python-setuptools))))
   (arguments
    `(#:tests? #f
      #:python ,python-3.12-wrapped))))

(define-public python-3.12-toolchain
  ((@@ (gnu packages python) wrap-python3)
   (package/inherit python-3.12
     (name "python-next-toolchain")
     (propagated-inputs
      (modify-inputs (package-propagated-inputs python-3.12)
        (append python-3.12-wheel)
        (append (with-python-3.12-raw python-setuptools))))
     (properties `(('python-3.12- . #t)
                   ,@(package-properties python-3.12)))

Do not follow this link