mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-05-19 10:45:05 +00:00
rosenthal: Add go-1.24.
* modules/rosenthal/packages/golang.scm: New file.
This commit is contained in:
parent
2a36e8b621
commit
297041998b
27
modules/rosenthal/packages/golang.scm
Normal file
27
modules/rosenthal/packages/golang.scm
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
;; SPDX-FileCopyrightText: 2025 Hilton Chain <hako@ultrarare.space>
|
||||||
|
;;
|
||||||
|
;; SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
(define-module (rosenthal packages golang)
|
||||||
|
#:use-module (guix packages)
|
||||||
|
#:use-module ((guix build utils) #:select (alist-replace))
|
||||||
|
#:use-module (guix git-download)
|
||||||
|
#:use-module (gnu packages golang))
|
||||||
|
|
||||||
|
(define-public go-1.24
|
||||||
|
(package
|
||||||
|
(inherit go-1.23)
|
||||||
|
(name "go")
|
||||||
|
(version "1.24.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/golang/go")
|
||||||
|
(commit (string-append "go" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "199yajw3amvspl9k2a75v4jblwr965laqngxbnsi5l3ragp5c1ck"))))
|
||||||
|
(native-inputs
|
||||||
|
;; Go 1.24 and later requires Go 1.22+ as the bootstrap toolchain.
|
||||||
|
(alist-replace "go" (list go-1.22) (package-native-inputs go-1.23)))))
|
Loading…
Reference in New Issue
Block a user