mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-11-16 01:14:45 +00:00
Compare commits
4 Commits
72a9d12836
...
cc202637fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc202637fd | ||
|
|
8bf237c8a3 | ||
|
|
5739b4de2c | ||
|
|
c6228682d6 |
52
etc/manifests/rosenthal-auto-update.scm
Normal file
52
etc/manifests/rosenthal-auto-update.scm
Normal file
@ -0,0 +1,52 @@
|
||||
;;; SPDX-FileCopyrightText: 2024-2025 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; SPDX-FileCopyrightText: 2025 Hilton Chain <hako@ultrarare.space>
|
||||
;;;
|
||||
;;; SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
(use-modules (guix memoization)
|
||||
(guix packages)
|
||||
(guix profiles)
|
||||
(guix store)
|
||||
(guix transformations)
|
||||
(rosenthal utils packages)
|
||||
((guix import github) #:select (%github-api))
|
||||
((guix scripts build) #:select (dependents)))
|
||||
|
||||
;; Bypass the GitHub updater: we'd need an API token or we would hit the rate
|
||||
;; limit.
|
||||
(%github-api "http://example.org")
|
||||
|
||||
(define latest-version
|
||||
(mlambdaq (package)
|
||||
(package-with-upstream-version package
|
||||
;; Preserve patches and snippets to get
|
||||
;; exactly the same as what we'd have with
|
||||
;; 'guix refresh -u PACKAGE'.
|
||||
#:preserve-patches? #t
|
||||
|
||||
;; XXX: Disable source code authentication:
|
||||
;; this requires a local keyring, populated
|
||||
;; from key servers, but key servers may be
|
||||
;; unreliable or may lack the upstream
|
||||
;; keys. Leave it up to packagers to
|
||||
;; actually authenticate code and make sure
|
||||
;; it matches what this manifest computed.
|
||||
#:authenticate? #f)))
|
||||
|
||||
(define updatable-packages
|
||||
(filter (negate rosenthal-disable-updater?)
|
||||
(all-rosenthal-packages)))
|
||||
|
||||
(manifest
|
||||
(with-store store
|
||||
(let ((update-all (package-input-rewriting
|
||||
(map (lambda (package)
|
||||
`(,package . ,(latest-version package)))
|
||||
updatable-packages)
|
||||
#:recursive? #t)))
|
||||
(map (lambda (package)
|
||||
(manifest-entry
|
||||
(inherit (package->manifest-entry
|
||||
(update-all package)))
|
||||
(name (string-append (package-name package) "-full-upgrade"))))
|
||||
(dependents store updatable-packages 2)))))
|
||||
@ -62,7 +62,8 @@ the user to manage services with dependencies and parallel startup.")
|
||||
((#:configure-flags configure-flags)
|
||||
#~(append #$configure-flags
|
||||
(list "-Dlibseat-logind=disabled")))))
|
||||
(propagated-inputs '()))))
|
||||
(propagated-inputs '())
|
||||
(properties '((disable-updater? . #t))))))
|
||||
|
||||
(define-public pam-dumb-runtime-dir
|
||||
(package
|
||||
@ -111,4 +112,5 @@ exists and is only writable by root.")
|
||||
((#:configure-flags configure-flags)
|
||||
#~(append #$configure-flags
|
||||
(list "-Dlibseat-logind=disabled")))))
|
||||
(propagated-inputs '()))))
|
||||
(propagated-inputs '())
|
||||
(properties '((disable-updater? . #t))))))
|
||||
|
||||
@ -153,7 +153,8 @@ exec ~a -jar ~a $@~%"
|
||||
"Komga is a media server for your comics, mangas, BDs, magazines and
|
||||
eBooks.")
|
||||
(license license:expat)
|
||||
(properties '((upstream-name . "komga")))))
|
||||
(properties '((upstream-name . "komga")
|
||||
(disable-updater? . #t)))))
|
||||
|
||||
(define-public navidrome-bin
|
||||
(package
|
||||
@ -179,7 +180,8 @@ eBooks.")
|
||||
manage their music collections. It provides a web interface and is compatible
|
||||
with the Subsonic API.")
|
||||
(license license:expat)
|
||||
(properties '((upstream-name . "navidrome")))))
|
||||
(properties '((upstream-name . "navidrome")
|
||||
(disable-updater? . #t)))))
|
||||
|
||||
(define-public shadow-tls-bin
|
||||
(package
|
||||
@ -209,7 +211,8 @@ with the Subsonic API.")
|
||||
"Shadow TLS is a proxy to expose real tls handshake to the @acronym{MITM,
|
||||
monster-in-the-middle}.")
|
||||
(license license:expat)
|
||||
(properties '((upstream-name . "shadow-tls")))))
|
||||
(properties '((upstream-name . "shadow-tls")
|
||||
(disable-updater? . #t)))))
|
||||
|
||||
(define-public sing-box-bin
|
||||
(deprecated-package "sing-box-bin" sing-box))
|
||||
@ -239,7 +242,8 @@ monster-in-the-middle}.")
|
||||
"This package provides @code{wakapi}, a WakaTime-compatible backend for
|
||||
coding statistics.")
|
||||
(license license:expat)
|
||||
(properties '((upstream-name . "wakapi")))))
|
||||
(properties '((upstream-name . "wakapi")
|
||||
(disable-updater? . #t)))))
|
||||
|
||||
(define-public wakatime-cli-bin
|
||||
(package
|
||||
@ -265,4 +269,5 @@ coding statistics.")
|
||||
"This package provides @command{wakatime-cli}, the command line interface
|
||||
to WakaTime, which is used by all WakaTime text editor plugins.")
|
||||
(license license:bsd-3)
|
||||
(properties '((upstream-name . "wakatime-cli")))))
|
||||
(properties '((upstream-name . "wakatime-cli")
|
||||
(disable-updater? . #t)))))
|
||||
|
||||
@ -253,7 +253,7 @@ a SOCKS5 proxy.")
|
||||
(define-public tailscale
|
||||
(package
|
||||
(name "tailscale")
|
||||
(version "1.84.1")
|
||||
(version "1.84.2")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
@ -262,7 +262,7 @@ a SOCKS5 proxy.")
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0dk6207h2nhr4lq1llhfcb0cqg637br9017q67km0cwf2ahw2ixc"))
|
||||
"1nsf9g95c68hbsals99fqn47w75sa17ayhalk85qi8iv36k2h9km"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
(define-public ai-robots-txt
|
||||
(package
|
||||
(name "ai-robots-txt")
|
||||
(version "1.35")
|
||||
(version "1.36")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
@ -30,7 +30,7 @@
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1ay0jpdzdr345463liimwjwacraldmj3h65aw9jbwd10k81i7c9g"))
|
||||
"1b3yc4abd6ni43dqp352lf8bmb328y1yhq8din7hscfg694i3i2d"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet '(delete-file-recursively "code"))))
|
||||
(build-system copy-build-system)
|
||||
@ -97,7 +97,8 @@ website owners block unwanted AI crawlers from accessing their sites.")
|
||||
"Anubis checks incoming HTTP requests using one or more challenges in
|
||||
order to protect upstream resources from web crawlers.")
|
||||
(license license:expat)
|
||||
(properties '((upstream-name . "anubis")))))
|
||||
(properties '((upstream-name . "anubis")
|
||||
(disable-updater? . #t)))))
|
||||
|
||||
(define-public caddy
|
||||
(package
|
||||
|
||||
@ -51,4 +51,6 @@
|
||||
Wayland compositor implementing @code{xdg_wm_base} interface. This is
|
||||
particularly useful for compositors that (understandably) do not want to go
|
||||
through implementing support for rootless Xwayland themselves.")
|
||||
(license license:mpl2.0)))
|
||||
(license license:mpl2.0)
|
||||
(properties
|
||||
'((disable-updater? . #t)))))
|
||||
|
||||
@ -44,6 +44,8 @@
|
||||
this-cuirass-worker-container-configuration
|
||||
(host-name cuirass-worker-container-host-name)
|
||||
(server cuirass-worker-container-server)
|
||||
(workers cuirass-worker-container-workers
|
||||
(default 1))
|
||||
(supported-systems cuirass-worker-container-supported-systems
|
||||
(default (list (%current-system)))
|
||||
(thunked))
|
||||
@ -66,7 +68,8 @@
|
||||
|
||||
(define %cuirass-worker-container-script
|
||||
(match-record-lambda <cuirass-worker-container-configuration>
|
||||
(host-name server supported-systems substitute-urls)
|
||||
(host-name server workers supported-systems substitute-urls)
|
||||
|
||||
(define cuirass-remote-worker-for-container
|
||||
(service-type
|
||||
(name 'cuirass-remote-worker)
|
||||
@ -95,6 +98,7 @@
|
||||
%cuirass-remote-worker-accounts)))))
|
||||
(description
|
||||
"Run the Cuirass remote build worker service.")))
|
||||
|
||||
(define os
|
||||
(operating-system
|
||||
(bootloader
|
||||
@ -108,12 +112,12 @@
|
||||
(type "dummy"))
|
||||
%base-file-systems))
|
||||
(kernel linux-libre-lts)
|
||||
|
||||
(host-name host-name)
|
||||
(services
|
||||
(cons (service cuirass-remote-worker-for-container
|
||||
(cuirass-remote-worker-configuration
|
||||
(cuirass (pkg "cuirass-hako"))
|
||||
(workers workers)
|
||||
(server server)
|
||||
(systems supported-systems)
|
||||
(publish-port 5558)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user