mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-03-28 21:34:22 +00:00
Compare commits
13 Commits
53c757521a
...
f8d4113975
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8d4113975 | ||
|
|
2a89fe1f59 | ||
|
|
f4a1592a66 | ||
|
|
bf6937ec63 | ||
|
|
b5e08762c4 | ||
|
|
c38d19ed12 | ||
|
|
090bf6d160 | ||
|
|
b15427f304 | ||
|
|
860dfc897b | ||
|
|
ffebd92d70 | ||
|
|
7ec4a1edf0 | ||
|
|
10740c96f1 | ||
|
|
0b5e6584e1 |
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
(define-module (rosenthal packages binaries)
|
(define-module (rosenthal packages binaries)
|
||||||
;; Guile builtins
|
;; Guile builtins
|
||||||
|
#:use-module (ice-9 match)
|
||||||
#:use-module (srfi srfi-1)
|
#:use-module (srfi srfi-1)
|
||||||
;; Utilities
|
;; Utilities
|
||||||
#:use-module (gnu build icecat-extension)
|
#:use-module (gnu build icecat-extension)
|
||||||
@ -11,6 +12,7 @@
|
|||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
|
#:use-module (rosenthal utils packages)
|
||||||
;; Guix origin methods
|
;; Guix origin methods
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
;; Guix build systems
|
;; Guix build systems
|
||||||
@ -176,7 +178,7 @@ the most niche uses.")
|
|||||||
(define-public komga-bin
|
(define-public komga-bin
|
||||||
(package
|
(package
|
||||||
(name "komga-bin")
|
(name "komga-bin")
|
||||||
(version "1.23.6")
|
(version "1.24.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -184,7 +186,7 @@ the most niche uses.")
|
|||||||
"/komga-" version ".jar"))
|
"/komga-" version ".jar"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"01mkhdxd2gh75g46381j5c4frys1bq5rywmb700ma5bdy7vd8k9i"))))
|
"085jh6fi29yayr15zl4wmarx893bmhi3dsdwsvpnq5y5x89nq65g"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan
|
(list #:install-plan
|
||||||
@ -224,7 +226,7 @@ eBooks.")
|
|||||||
(define-public navidrome-bin
|
(define-public navidrome-bin
|
||||||
(package
|
(package
|
||||||
(name "navidrome-bin")
|
(name "navidrome-bin")
|
||||||
(version "0.59.0")
|
(version "0.60.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -232,7 +234,7 @@ eBooks.")
|
|||||||
version "/navidrome_" version "_linux_amd64.tar.gz"))
|
version "/navidrome_" version "_linux_amd64.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1fn8hj6hm72nsyw69l5asqd1hm13z564ikk9v7nzg417553asx0h"))))
|
"13877bkjxgk2n7ws6zq02p3iqkryhbw3bswzfns0qlgzn0kv09ik"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan
|
(list #:install-plan
|
||||||
@ -422,7 +424,7 @@ multi-tenant, long-term storage for Prometheus.")
|
|||||||
(define-public loki-bin
|
(define-public loki-bin
|
||||||
(package
|
(package
|
||||||
(name "loki-bin")
|
(name "loki-bin")
|
||||||
(version "3.6.4")
|
(version "3.6.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -430,7 +432,7 @@ multi-tenant, long-term storage for Prometheus.")
|
|||||||
version "/loki-linux-amd64.zip"))
|
version "/loki-linux-amd64.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"153kzznw9jc10bvkjyqckmbkh8f6xg1d83wbd5vlajdvmrhl4l2i"))))
|
"026ln5p0ff8gvnj6943mr2qj3hksmcscd58x9261faanzs1zlp99"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan
|
(list #:install-plan
|
||||||
@ -447,10 +449,16 @@ rather a set of labels for each log stream.")
|
|||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
(properties '((upstream-name . "loki")))))
|
(properties '((upstream-name . "loki")))))
|
||||||
|
|
||||||
(define-public alloy-bin
|
|
||||||
|
;;;
|
||||||
|
;;; alloy
|
||||||
|
;;;
|
||||||
|
|
||||||
|
(define-public %alloy-source-x86_64-linux
|
||||||
(package
|
(package
|
||||||
(name "alloy-bin")
|
(inherit %binary-source)
|
||||||
(version "1.12.2")
|
(name "alloy")
|
||||||
|
(version "1.13.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -458,38 +466,13 @@ rather a set of labels for each log stream.")
|
|||||||
version "/alloy-linux-amd64.zip"))
|
version "/alloy-linux-amd64.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0fknk73z13a3jic6q3gmnwcgzz51jplikmg3xaz08217khpqh4kx"))))
|
"0xy986hgzbpq7yq0h9c364ki3j9z21wj6097f1dkk8722ycq0khy"))))))
|
||||||
(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")))))
|
|
||||||
|
|
||||||
(define-public alloy-bin-aarch64-linux
|
(define-public %alloy-source-aarch64-linux
|
||||||
(package
|
(package
|
||||||
(inherit alloy-bin)
|
(inherit %binary-source)
|
||||||
(name "alloy-bin-aarch64-linux")
|
(name "alloy")
|
||||||
(version "1.12.2")
|
(version "1.13.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -497,9 +480,79 @@ profiles.")
|
|||||||
version "/alloy-linux-arm64.zip"))
|
version "/alloy-linux-arm64.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(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
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments alloy-bin)
|
(let ((binary-source
|
||||||
((#:install-plan _ ''())
|
(match (or (%current-target-system)
|
||||||
#~'(("alloy-linux-arm64" "bin/alloy")))))
|
(%current-system))
|
||||||
(supported-systems '("aarch64-linux"))))
|
((? 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)
|
||||||
|
|||||||
@ -86,7 +86,7 @@
|
|||||||
(define-public systemd-stub
|
(define-public systemd-stub
|
||||||
(package
|
(package
|
||||||
(name "systemd-stub")
|
(name "systemd-stub")
|
||||||
(version "259")
|
(version "259.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -95,7 +95,7 @@
|
|||||||
(file-name (git-file-name "name" version))
|
(file-name (git-file-name "name" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1j0f710m6h2vlry6a62q8qhvkv4c4gah6s7n212fi8liqpb1g5cl"))))
|
"1581hd16kwqa3i73szazym9rbjrmybfrqvx2x5pkcb3y2d7dclkj"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f
|
(list #:tests? #f
|
||||||
@ -129,7 +129,7 @@ Supports measured and/or verified boot environments.")
|
|||||||
(define-public ukify
|
(define-public ukify
|
||||||
(package
|
(package
|
||||||
(name "ukify")
|
(name "ukify")
|
||||||
(version "259")
|
(version "259.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -138,7 +138,7 @@ Supports measured and/or verified boot environments.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1j0f710m6h2vlry6a62q8qhvkv4c4gah6s7n212fi8liqpb1g5cl"))))
|
"1581hd16kwqa3i73szazym9rbjrmybfrqvx2x5pkcb3y2d7dclkj"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list #:phases
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
(define-public cloudflared
|
(define-public cloudflared
|
||||||
(package
|
(package
|
||||||
(name "cloudflared")
|
(name "cloudflared")
|
||||||
(version "2026.1.1")
|
(version "2026.2.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -34,7 +34,7 @@
|
|||||||
;; (snippet '(delete-file-recursively "vendor"))
|
;; (snippet '(delete-file-recursively "vendor"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"11bdgv12y6ys5p6sxr0b7mqirvwcpll1jpdsdmkiwrd95maq7rgp"))))
|
"17cvbkxrs1768r48iczxq75kr698cys0dymdbbhs9p1c75m0b0si"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:go go-1.24
|
(list #:go go-1.24
|
||||||
@ -143,7 +143,7 @@ bypass network restrictions." )
|
|||||||
(define-public sing-box
|
(define-public sing-box
|
||||||
(package
|
(package
|
||||||
(name "sing-box")
|
(name "sing-box")
|
||||||
(version "1.12.15")
|
(version "1.12.20")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -152,7 +152,7 @@ bypass network restrictions." )
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"04bb5xq4pskcd2sbpi5vvh8f9c52ivjrc2mafz96b6cnbm2ix1fx"))))
|
"02y6yrllkaf4wswgcb6fv35scj1gngvkvnc972z0h2f2r86bi28x"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
@ -220,7 +220,7 @@ bypass network restrictions." )
|
|||||||
(file-name "vendored-go-dependencies")
|
(file-name "vendored-go-dependencies")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"01gkszwkxbq133kfjg2iqdd033c1llawdplmka9hwp1hqidhf94r"))))
|
"1b1ciib7w5zqhbmxxjayiynhhmchvpyzn1kwl1lz3v85zwnkf38p"))))
|
||||||
(if (%current-target-system)
|
(if (%current-target-system)
|
||||||
(list this-package)
|
(list this-package)
|
||||||
'())))
|
'())))
|
||||||
@ -261,7 +261,7 @@ a SOCKS5 proxy.")
|
|||||||
(define-public tailscale
|
(define-public tailscale
|
||||||
(package
|
(package
|
||||||
(name "tailscale")
|
(name "tailscale")
|
||||||
(version "1.92.5")
|
(version "1.94.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -270,7 +270,7 @@ a SOCKS5 proxy.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0i96m98ambmb532isi44qzzh7qm16lg78k5y6pdg2l0x3zxq6ijb"))
|
"0n5k8adplcffjwlpiy35nrklc0sf9ms18zlilcis5g1s3kdh4klf"))
|
||||||
(patches
|
(patches
|
||||||
(rosenthal-patches
|
(rosenthal-patches
|
||||||
"tailscale-set-guix-system-PATH-for-SSH.patch"))
|
"tailscale-set-guix-system-PATH-for-SSH.patch"))
|
||||||
@ -375,7 +375,7 @@ a SOCKS5 proxy.")
|
|||||||
(file-name "vendored-go-dependencies")
|
(file-name "vendored-go-dependencies")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1j1bnlqk4k098vj31ylj5b7iwd18di84m7zacrlc5aclrif9554c"))))
|
"04zzwizns5a5wvwpa1a82jg0l641fnk3schffrpqi3qi84x17qsr"))))
|
||||||
(if (%current-target-system)
|
(if (%current-target-system)
|
||||||
(list this-package)
|
(list this-package)
|
||||||
'())))
|
'())))
|
||||||
|
|||||||
@ -37,7 +37,7 @@
|
|||||||
(define-public noctalia-shell
|
(define-public noctalia-shell
|
||||||
(package
|
(package
|
||||||
(name "noctalia-shell")
|
(name "noctalia-shell")
|
||||||
(version "4.3.3")
|
(version "4.4.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -46,7 +46,7 @@
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"03sb4kqr6bvdbf32fs27xaf2ghd9dmrrjnqvrj6mzhwslvdhqvcj"))))
|
"0p0gp8sqmv4xd696nrhbiln61wkgiyzyz7kjbqx6fs9kqc3i0wyf"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
#:use-module (guix ui)
|
#:use-module (guix ui)
|
||||||
;; Guix packages
|
;; Guix packages
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
|
#:use-module (gnu packages base)
|
||||||
#:replace (%patch-path
|
#:replace (%patch-path
|
||||||
search-patch)
|
search-patch)
|
||||||
#:export (rosenthal-patches
|
#:export (rosenthal-patches
|
||||||
@ -29,7 +30,9 @@
|
|||||||
spec->pkg
|
spec->pkg
|
||||||
spec->pkg+out
|
spec->pkg+out
|
||||||
specs->pkgs
|
specs->pkgs
|
||||||
specs->pkgs+out))
|
specs->pkgs+out
|
||||||
|
|
||||||
|
%binary-source))
|
||||||
|
|
||||||
(define %rosenthal-root-directory
|
(define %rosenthal-root-directory
|
||||||
;; This is like %distro-root-directory from (gnu packages), with adjusted
|
;; 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 pkg+out spec->pkg+out)
|
||||||
(define-deprecated/public-alias pkgs specs->pkgs)
|
(define-deprecated/public-alias pkgs specs->pkgs)
|
||||||
(define-deprecated/public-alias pkgs+out specs->pkgs+out)
|
(define-deprecated/public-alias pkgs+out specs->pkgs+out)
|
||||||
|
|
||||||
|
|
||||||
|
;;;
|
||||||
|
;;; Binary packages.
|
||||||
|
;;;
|
||||||
|
|
||||||
|
(define %binary-source
|
||||||
|
(hidden-package
|
||||||
|
(package
|
||||||
|
(inherit hello)
|
||||||
|
(supported-systems '()))))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user