Compare commits

...

13 Commits

Author SHA1 Message Date
Hilton Chain
f8d4113975
rosenthal: alloy-bin-aarch64-linux: Merge into alloy-bin.
* modules/rosenthal/packages/binaries.scm (%alloy-source-x86_64-linux)
(%alloy-source-aarch64-linux): New variables.
(alloy-bin): Use them.
Install completions.
Support cross-compilation.
(alloy-bin-aarch64-linux): Deprecate.
2026-02-07 21:10:48 +08:00
Hilton Chain
2a89fe1f59
rosenthal: alloy-bin-aarch64-linux: Update to 1.13.0.
* modules/rosenthal/packages/binaries.scm (alloy-bin-aarch64-linux): Update to 1.13.0.
2026-02-07 20:58:32 +08:00
Hilton Chain
f4a1592a66
rosenthal: alloy-bin: Update to 1.13.0.
* modules/rosenthal/packages/binaries.scm (alloy-bin): Update to 1.13.0.
2026-02-07 20:58:32 +08:00
Hilton Chain
bf6937ec63
utils: Add %binary-source.
* modules/rosenthal/utils/packages.scm (%binary-source): New variable.
2026-02-07 20:58:32 +08:00
Hilton Chain
b5e08762c4
rosenthal: noctalia-shell: Update to 4.4.0.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.4.0.
2026-02-07 20:58:32 +08:00
Hilton Chain
c38d19ed12
rosenthal: tailscale: Update to 1.94.1.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.94.1.
[native-inputs]: Update vendored Go dependencies.
2026-02-07 20:58:32 +08:00
Hilton Chain
090bf6d160
rosenthal: sing-box: Update to 1.12.20.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.20.
[native-inputs]: Update vendored Go dependencies.
2026-02-07 20:58:31 +08:00
Hilton Chain
b15427f304
rosenthal: cloudflared: Update to 2026.2.0.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2026.2.0.
2026-02-07 20:58:31 +08:00
Hilton Chain
860dfc897b
rosenthal: ukify: Update to 259.1.
* modules/rosenthal/packages/bootloaders.scm (ukify): Update to 259.1.
2026-02-07 20:58:31 +08:00
Hilton Chain
ffebd92d70
rosenthal: systemd-stub: Update to 259.1.
* modules/rosenthal/packages/bootloaders.scm (systemd-stub): Update to 259.1.
2026-02-07 20:58:25 +08:00
Hilton Chain
7ec4a1edf0
rosenthal: loki-bin: Update to 3.6.5.
* modules/rosenthal/packages/binaries.scm (loki-bin): Update to 3.6.5.
2026-02-07 19:03:29 +08:00
Hilton Chain
10740c96f1
rosenthal: navidrome-bin: Update to 0.60.0.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): Update to 0.60.0.
2026-02-07 19:03:29 +08:00
Hilton Chain
0b5e6584e1
rosenthal: komga-bin: Update to 1.24.1.
* modules/rosenthal/packages/binaries.scm (komga-bin): Update to 1.24.1.
2026-02-07 19:03:27 +08:00
5 changed files with 126 additions and 59 deletions

View File

@ -3,6 +3,7 @@
(define-module (rosenthal packages binaries)
;; Guile builtins
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
;; Utilities
#:use-module (gnu build icecat-extension)
@ -11,6 +12,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (rosenthal utils packages)
;; Guix origin methods
#:use-module (guix download)
;; Guix build systems
@ -176,7 +178,7 @@ the most niche uses.")
(define-public komga-bin
(package
(name "komga-bin")
(version "1.23.6")
(version "1.24.1")
(source (origin
(method url-fetch)
(uri (string-append
@ -184,7 +186,7 @@ the most niche uses.")
"/komga-" version ".jar"))
(sha256
(base32
"01mkhdxd2gh75g46381j5c4frys1bq5rywmb700ma5bdy7vd8k9i"))))
"085jh6fi29yayr15zl4wmarx893bmhi3dsdwsvpnq5y5x89nq65g"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
@ -224,7 +226,7 @@ eBooks.")
(define-public navidrome-bin
(package
(name "navidrome-bin")
(version "0.59.0")
(version "0.60.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -232,7 +234,7 @@ eBooks.")
version "/navidrome_" version "_linux_amd64.tar.gz"))
(sha256
(base32
"1fn8hj6hm72nsyw69l5asqd1hm13z564ikk9v7nzg417553asx0h"))))
"13877bkjxgk2n7ws6zq02p3iqkryhbw3bswzfns0qlgzn0kv09ik"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
@ -422,7 +424,7 @@ multi-tenant, long-term storage for Prometheus.")
(define-public loki-bin
(package
(name "loki-bin")
(version "3.6.4")
(version "3.6.5")
(source (origin
(method url-fetch)
(uri (string-append
@ -430,7 +432,7 @@ multi-tenant, long-term storage for Prometheus.")
version "/loki-linux-amd64.zip"))
(sha256
(base32
"153kzznw9jc10bvkjyqckmbkh8f6xg1d83wbd5vlajdvmrhl4l2i"))))
"026ln5p0ff8gvnj6943mr2qj3hksmcscd58x9261faanzs1zlp99"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
@ -447,10 +449,16 @@ rather a set of labels for each log stream.")
(supported-systems '("x86_64-linux"))
(properties '((upstream-name . "loki")))))
(define-public alloy-bin
;;;
;;; alloy
;;;
(define-public %alloy-source-x86_64-linux
(package
(name "alloy-bin")
(version "1.12.2")
(inherit %binary-source)
(name "alloy")
(version "1.13.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -458,38 +466,13 @@ rather a set of labels for each log stream.")
version "/alloy-linux-amd64.zip"))
(sha256
(base32
"0fknk73z13a3jic6q3gmnwcgzz51jplikmg3xaz08217khpqh4kx"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
#~'(("alloy-linux-amd64" "bin/alloy"))
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'patch-elf
(lambda* (#:key inputs #:allow-other-keys)
(let ((name "alloy")
(dest (in-vicinity #$output "bin"))
(ld.so (search-input-file inputs #$(glibc-dynamic-linker))))
(with-directory-excursion dest
(invoke "patchelf" "--set-interpreter" ld.so name)
(chmod name #o555))))))))
(native-inputs (list patchelf unzip))
(synopsis
"OpenTelemetry Collector distribution with programmable pipelines")
(description
"Grafana Alloy is an open source OpenTelemetry Collector distribution with
built-in Prometheus pipelines and support for metrics, logs, traces, and
profiles.")
(home-page "https://grafana.com/oss/alloy-opentelemetry-collector/")
(license license:agpl3)
(supported-systems '("x86_64-linux"))
(properties '((upstream-name . "alloy")))))
"0xy986hgzbpq7yq0h9c364ki3j9z21wj6097f1dkk8722ycq0khy"))))))
(define-public alloy-bin-aarch64-linux
(define-public %alloy-source-aarch64-linux
(package
(inherit alloy-bin)
(name "alloy-bin-aarch64-linux")
(version "1.12.2")
(inherit %binary-source)
(name "alloy")
(version "1.13.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -497,9 +480,79 @@ profiles.")
version "/alloy-linux-arm64.zip"))
(sha256
(base32
"08k7dhj8dhdv5w2d6gkny31rp1p51ycd6f0mp5v13iq9w7d4w3bd"))))
"1pxnjzygm2mylipf6cjkqxm4k3i9vnm7v80avxbhv8400p3aszqk"))))))
(define-public alloy-bin
(package
(name "alloy-bin")
(version (package-version %alloy-source-x86_64-linux))
(source #f)
(build-system copy-build-system)
(arguments
(substitute-keyword-arguments (package-arguments alloy-bin)
((#:install-plan _ ''())
#~'(("alloy-linux-arm64" "bin/alloy")))))
(supported-systems '("aarch64-linux"))))
(let ((binary-source
(match (or (%current-target-system)
(%current-system))
((? target-aarch64?)
(package-source %alloy-source-aarch64-linux))
(_
(package-source %alloy-source-x86_64-linux)))))
(list
#:install-plan
(match (or (%current-target-system)
(%current-system))
((? target-aarch64?)
#~'(("alloy-linux-arm64" "bin/alloy")))
(_
#~'(("alloy-linux-amd64" "bin/alloy"))))
#:modules
'((ice-9 match)
(guix build copy-build-system)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(replace 'unpack
(lambda _
((assoc-ref %standard-phases 'unpack)
#:source #+binary-source)))
(add-after 'install 'patch-elf
(lambda _
(let ((name "alloy")
(dest (in-vicinity #$output "bin"))
(ld.so #$(file-append glibc (glibc-dynamic-linker))))
(with-directory-excursion dest
(invoke "patchelf" "--set-interpreter" ld.so name)
(chmod name #o555)))))
(add-after 'patch-elf 'install-extras
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(let ((alloy
(if #$(%current-target-system)
(search-input-file (or native-inputs inputs)
"bin/alloy")
(in-vicinity #$output "bin/alloy"))))
(for-each
(match-lambda
((shell . file)
(mkdir-p (in-vicinity #$output (dirname file)))
(with-output-to-file (in-vicinity #$output file)
(lambda ()
(invoke alloy "completion" shell)))))
'(("bash" . "share/bash-completion/completions/alloy")
("fish" . "share/fish/vendor_completions.d/alloy.fish")
("zsh" . "share/zsh/site-functions/_alloy"))))))))))
(native-inputs
(append (if (%current-target-system)
(list this-package)
'())
(list patchelf unzip)))
(supported-systems '("x86_64-linux" "aarch64-linux"))
(home-page "https://grafana.com/oss/alloy-opentelemetry-collector/")
(synopsis
"OpenTelemetry Collector distribution with programmable pipelines")
(description
"Grafana Alloy is an open source OpenTelemetry Collector distribution with
built-in Prometheus pipelines and support for metrics, logs, traces, and
profiles.")
(license license:agpl3)
(properties '((disable-updater? . #t)))))
(define-deprecated-package alloy-bin-aarch64-linux alloy-bin)

View File

@ -86,7 +86,7 @@
(define-public systemd-stub
(package
(name "systemd-stub")
(version "259")
(version "259.1")
(source (origin
(method git-fetch)
(uri (git-reference
@ -95,7 +95,7 @@
(file-name (git-file-name "name" version))
(sha256
(base32
"1j0f710m6h2vlry6a62q8qhvkv4c4gah6s7n212fi8liqpb1g5cl"))))
"1581hd16kwqa3i73szazym9rbjrmybfrqvx2x5pkcb3y2d7dclkj"))))
(build-system meson-build-system)
(arguments
(list #:tests? #f
@ -129,7 +129,7 @@ Supports measured and/or verified boot environments.")
(define-public ukify
(package
(name "ukify")
(version "259")
(version "259.1")
(source (origin
(method git-fetch)
(uri (git-reference
@ -138,7 +138,7 @@ Supports measured and/or verified boot environments.")
(file-name (git-file-name name version))
(sha256
(base32
"1j0f710m6h2vlry6a62q8qhvkv4c4gah6s7n212fi8liqpb1g5cl"))))
"1581hd16kwqa3i73szazym9rbjrmybfrqvx2x5pkcb3y2d7dclkj"))))
(build-system pyproject-build-system)
(arguments
(list #:phases

View File

@ -22,7 +22,7 @@
(define-public cloudflared
(package
(name "cloudflared")
(version "2026.1.1")
(version "2026.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
@ -34,7 +34,7 @@
;; (snippet '(delete-file-recursively "vendor"))
(sha256
(base32
"11bdgv12y6ys5p6sxr0b7mqirvwcpll1jpdsdmkiwrd95maq7rgp"))))
"17cvbkxrs1768r48iczxq75kr698cys0dymdbbhs9p1c75m0b0si"))))
(build-system go-build-system)
(arguments
(list #:go go-1.24
@ -143,7 +143,7 @@ bypass network restrictions." )
(define-public sing-box
(package
(name "sing-box")
(version "1.12.15")
(version "1.12.20")
(source (origin
(method git-fetch)
(uri (git-reference
@ -152,7 +152,7 @@ bypass network restrictions." )
(file-name (git-file-name name version))
(sha256
(base32
"04bb5xq4pskcd2sbpi5vvh8f9c52ivjrc2mafz96b6cnbm2ix1fx"))))
"02y6yrllkaf4wswgcb6fv35scj1gngvkvnc972z0h2f2r86bi28x"))))
(build-system go-build-system)
(arguments
(list
@ -220,7 +220,7 @@ bypass network restrictions." )
(file-name "vendored-go-dependencies")
(sha256
(base32
"01gkszwkxbq133kfjg2iqdd033c1llawdplmka9hwp1hqidhf94r"))))
"1b1ciib7w5zqhbmxxjayiynhhmchvpyzn1kwl1lz3v85zwnkf38p"))))
(if (%current-target-system)
(list this-package)
'())))
@ -261,7 +261,7 @@ a SOCKS5 proxy.")
(define-public tailscale
(package
(name "tailscale")
(version "1.92.5")
(version "1.94.1")
(source (origin
(method git-fetch)
(uri (git-reference
@ -270,7 +270,7 @@ a SOCKS5 proxy.")
(file-name (git-file-name name version))
(sha256
(base32
"0i96m98ambmb532isi44qzzh7qm16lg78k5y6pdg2l0x3zxq6ijb"))
"0n5k8adplcffjwlpiy35nrklc0sf9ms18zlilcis5g1s3kdh4klf"))
(patches
(rosenthal-patches
"tailscale-set-guix-system-PATH-for-SSH.patch"))
@ -375,7 +375,7 @@ a SOCKS5 proxy.")
(file-name "vendored-go-dependencies")
(sha256
(base32
"1j1bnlqk4k098vj31ylj5b7iwd18di84m7zacrlc5aclrif9554c"))))
"04zzwizns5a5wvwpa1a82jg0l641fnk3schffrpqi3qi84x17qsr"))))
(if (%current-target-system)
(list this-package)
'())))

View File

@ -37,7 +37,7 @@
(define-public noctalia-shell
(package
(name "noctalia-shell")
(version "4.3.3")
(version "4.4.0")
(source (origin
(method git-fetch)
(uri (git-reference
@ -46,7 +46,7 @@
(file-name (git-file-name name version))
(sha256
(base32
"03sb4kqr6bvdbf32fs27xaf2ghd9dmrrjnqvrj6mzhwslvdhqvcj"))))
"0p0gp8sqmv4xd696nrhbiln61wkgiyzyz7kjbqx6fs9kqc3i0wyf"))))
(build-system copy-build-system)
(arguments
(list

View File

@ -17,6 +17,7 @@
#:use-module (guix ui)
;; Guix packages
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:replace (%patch-path
search-patch)
#:export (rosenthal-patches
@ -29,7 +30,9 @@
spec->pkg
spec->pkg+out
specs->pkgs
specs->pkgs+out))
specs->pkgs+out
%binary-source))
(define %rosenthal-root-directory
;; This is like %distro-root-directory from (gnu packages), with adjusted
@ -132,3 +135,14 @@ packages, excluding superseded packages."
(define-deprecated/public-alias pkg+out spec->pkg+out)
(define-deprecated/public-alias pkgs specs->pkgs)
(define-deprecated/public-alias pkgs+out specs->pkgs+out)
;;;
;;; Binary packages.
;;;
(define %binary-source
(hidden-package
(package
(inherit hello)
(supported-systems '()))))