1
0
mirror of https://codeberg.org/hako/Rosenthal.git synced 2025-04-13 17:44:31 +00:00

Compare commits

...

11 Commits

Author SHA1 Message Date
Hilton Chain
c7689a56a2
rosenthal: cloudflared: Update to 2024.12.2.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.12.2.
2024-12-30 19:27:37 +08:00
Hilton Chain
4ef2eb9ad1
import: Add %cloudflare-warp-updater.
* guix/import/rosenthal-updaters.scm: New file.
2024-12-29 16:25:26 +08:00
Hilton Chain
a59d496c74
rosenthal: wakatime-cli-bin: Update to 1.107.0.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.107.0.
[properties]: Add upstream-name.
2024-12-29 16:21:07 +08:00
Hilton Chain
c35a935163
rosenthal: wakapi-bin: Update to 2.12.3.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.12.3.
[properties]: Add upstream-name.
2024-12-29 16:20:38 +08:00
Hilton Chain
dc184aa9fd
rosenthal: tailscale-bin: Update to 1.78.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.78.1.
[properties]: Add release-monitoring-url and upstream-name.
2024-12-29 16:19:56 +08:00
Hilton Chain
d5b1236487
rosenthal: sing-box-bin: Update to 1.10.5.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.10.5.
[properties]: Add upstream-name.
2024-12-29 16:19:22 +08:00
Hilton Chain
c30bf61086
rosenthal: shadow-tls-bin: Add upstream-name.
* rosenthal/packages/binaries.scm (shadow-tls-bin)[properties]: Add
upstream-name.
2024-12-29 16:18:53 +08:00
Hilton Chain
6945a72a17
rosenthal: hugo-bin: Update to 0.140.1.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.140.1.
[properties]: Add upstream-name.
2024-12-29 16:18:39 +08:00
Hilton Chain
9b280ab3c4
rosenthal: cloudflare-warp-bin: Update to 2024.12.554.0.
* rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to
2024.12.554.0.
[properties]: Add upstream-name and release-monitoring-url.
2024-12-29 16:17:58 +08:00
Hilton Chain
7c2d02c6e7
rosenthal: mihomo-bin: Update to 1.19.0.
* rosenthal/packages/binaries.scm (mihomo-bin): Update to 1.19.0.
[properties]: Add upstream-name.
2024-12-29 16:15:11 +08:00
Hilton Chain
c73748e9d2
rosenthal: atuin-bin: Update to 18.4.0.
* rosenthal/packages/binaries.scm (atuin-bin): Update to 18.4.0.
[properties]: Add upstream-name.
2024-12-29 16:14:27 +08:00
3 changed files with 82 additions and 27 deletions

View File

@ -0,0 +1,41 @@
(define-module (guix import rosenthal-updaters)
#:use-module (ice-9 regex)
#:use-module (rnrs bytevectors)
#:use-module (srfi srfi-71)
#:use-module (web client)
#:use-module (guix packages)
#:use-module (guix upstream)
#:export (%cloudflare-warp-updater))
(define* (cloudflare-warp-import pkg #:key (version #f))
(let* ((source-uri (assq-ref (package-properties pkg) 'release-monitoring-url))
(response content (http-get source-uri))
(content (utf8->string content))
(name (package-upstream-name pkg))
(newest-version
(or version
(match:substring
(string-match "\nVersion: (.*)\nLicense" content)
1)))
(url
(if version
(string-append "https://pkg.cloudflareclient.com/"
"pool/bookworm/main/c/cloudflare-warp/"
"cloudflare-warp_" version "_amd64.deb")
(string-append "https://pkg.cloudflareclient.com/"
(match:substring
(string-match "\nFilename: (.*)\nSize" content)
1)))))
(upstream-source
(package name)
(version newest-version)
(urls (list url)))))
(define %cloudflare-warp-updater
(upstream-updater
(name 'cloudflare-warp)
(description "Updater for Cloudflare WARP client")
(pred (lambda (package)
(string=? "cloudflare-warp" (package-upstream-name package))))
(import cloudflare-warp-import)))

View File

@ -23,7 +23,7 @@
(define-public atuin-bin
(package
(name "atuin-bin")
(version "18.3.0")
(version "18.4.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -31,7 +31,7 @@
version "/atuin-x86_64-unknown-linux-gnu.tar.gz"))
(sha256
(base32
"14hp673i8in9adahg01bldlwyip7kg5vdnqi5jczinv8ibxnswg3"))))
"09rbk68mlfvjqzpydq9i83c05vpvn03s2343mswimc5svlclwslh"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("atuin" "bin/"))
@ -68,7 +68,8 @@
"Atuin replaces existing shell history with a SQLite database, and records
additional context for commands. Additionally, it provides optional and fully
encrypted synchronisation of history between machines, via an Atuin server.")
(license license:gpl3)))
(license license:gpl3)
(properties '((upstream-name . "atuin")))))
(define-public clash-bin
(package
@ -103,7 +104,7 @@ protocols out-of-the-box.")
(define-public mihomo-bin
(package
(name "mihomo-bin")
(version "1.18.9")
(version "1.19.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -111,7 +112,7 @@ protocols out-of-the-box.")
version "/mihomo-linux-amd64-v" version ".gz"))
(sha256
(base32
"0xq2baqcfd6hnyl1h3q34ymqd227dm06r7dz76s46k7mx7yz7jsb"))))
"0y3hwwzgiy81zjil3kgc1llz9s8hlbyy35ykr59za3fyc53l269q"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
@ -128,7 +129,8 @@ protocols out-of-the-box.")
(synopsis "Rule-based tunnel in Go")
(description
"This package provides @command{mihomo}, another @code{clash} kernel.")
(license license:gpl3)))
(license license:gpl3)
(properties '((upstream-name . "mihomo")))))
(define-public clash-meta-bin
(deprecated-package "clash-meta-bin" mihomo-bin))
@ -136,7 +138,7 @@ protocols out-of-the-box.")
(define-public cloudflare-warp-bin
(package
(name "cloudflare-warp-bin")
(version "2024.9.346.0")
(version "2024.12.554.0")
(source (origin
(method url-fetch)
(uri (string-append "https://pkg.cloudflareclient.com"
@ -144,7 +146,7 @@ protocols out-of-the-box.")
"cloudflare-warp_" version "_amd64.deb"))
(sha256
(base32
"1jrvhb4ka6j0fn9ymnpz1j4anljhl3b15h54np40x0p2d5c28czi"))))
"00qan4yaq0hcqw8gfv7jgb1vm2milzlfgzh7frp9f9567115fjwc"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
@ -196,12 +198,16 @@ different needs.")
(license
(license "Nonfree"
"https://www.cloudflare.com/application/terms/"
"This is a nonfree license. Check the URI for details."))))
"This is a nonfree license. Check the URI for details."))
(properties
'((upstream-name . "cloudflare-warp")
(release-monitoring-url
. "https://pkg.cloudflareclient.com/dists/bookworm/main/binary-amd64/Packages")))))
(define-public hugo-bin
(package
(name "hugo-bin")
(version "0.136.5")
(version "0.140.1")
(source (origin
(method url-fetch)
(uri (string-append
@ -209,7 +215,7 @@ different needs.")
version "/hugo_extended_" version "_linux-amd64.tar.gz"))
(sha256
(base32
"1zvhpyqad402ifa4gyin6apxmyhxg5ww8d7ng7h7q1qbpcd7rgmp"))))
"0bzpw3bylgwzgsf570ywvlp9v7z3wh73gb4yw8kjip9s2klnxvvy"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("hugo" "bin/"))
@ -236,7 +242,8 @@ different needs.")
(description
"Hugo is a static site generator written in Go, optimized for speed and
designed for flexibility.")
(license license:asl2.0)))
(license license:asl2.0)
(properties '((upstream-name . "hugo")))))
(define miniflux-injector
(package
@ -306,7 +313,8 @@ results are added in a sidebar next to search engine results.")
(description
"Shadow TLS is a proxy to expose real tls handshake to the @acronym{MITM,
monster-in-the-middle}.")
(license license:expat)))
(license license:expat)
(properties '((upstream-name . "shadow-tls")))))
(define sidebery
(package
@ -340,7 +348,7 @@ in sidebar.")
(define-public sing-box-bin
(package
(name "sing-box-bin")
(version "1.10.1")
(version "1.10.5")
(source (origin
(method url-fetch)
(uri (string-append
@ -348,7 +356,7 @@ in sidebar.")
version "/sing-box-" version "-linux-amd64.tar.gz"))
(sha256
(base32
"0cadcqisnfzzf9154bj29ik1sh829rhgqqsjjxa31mgzfzn5ghcy"))))
"1yysfdac9g61qn5pj7r0nyy3jrar55g5h0g7c7k2b0843ldkvd8q"))))
(build-system copy-build-system)
(arguments (list #:install-plan #~'(("sing-box" "bin/"))))
(supported-systems '("x86_64-linux"))
@ -356,19 +364,20 @@ in sidebar.")
(synopsis "Universal proxy platform")
(description
"This package provides @command{sing-box}, a universal proxy platform.")
(license license:gpl3+)))
(license license:gpl3+)
(properties '((upstream-name . "sing-box")))))
(define-public tailscale-bin
(package
(name "tailscale-bin")
(version "1.76.6")
(version "1.78.1")
(source (origin
(method url-fetch)
(uri (string-append "https://pkgs.tailscale.com"
"/stable/tailscale_" version "_amd64.tgz"))
(sha256
(base32
"1xv1zx171k2vh6dv8hn115r8il2ckhd273x2r88y9fgpg1xkgwh8"))))
"12aa8zr8b8x374vg48p6lcfzfwjjf2k9ywvbrdrj2080d2yr3d1x"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
@ -379,12 +388,15 @@ in sidebar.")
(description
"This package provides @command{tailscale}, which brings an easy and secure
way to use WireGuard and 2FA.")
(license license:bsd-3)))
(license license:bsd-3)
(properties
'((release-monitoring-url . "https://github.com/tailscale/tailscale/releases")
(upstream-name . "tailscale")))))
(define-public wakapi-bin
(package
(name "wakapi-bin")
(version "2.12.1")
(version "2.12.3")
(source (origin
(method url-fetch)
(uri (string-append
@ -392,7 +404,7 @@ way to use WireGuard and 2FA.")
version "/wakapi_linux_amd64.zip"))
(sha256
(base32
"0kfid6ii9y1sp2w1na55mybyjya1c2k0jgj9h4zf64kg7isv626w"))))
"0g2in93c0jl3wc0pwx6qpczvvmlqy37n33bmdzbm57pi13r182lf"))))
(build-system copy-build-system)
(arguments (list #:install-plan #~'(("wakapi" "bin/wakapi"))))
(supported-systems '("x86_64-linux"))
@ -402,12 +414,13 @@ way to use WireGuard and 2FA.")
(description
"This package provides @code{wakapi}, a WakaTime-compatible backend for
coding statistics.")
(license license:expat)))
(license license:expat)
(properties '((upstream-name . "wakapi")))))
(define-public wakatime-cli-bin
(package
(name "wakatime-cli-bin")
(version "1.102.4")
(version "1.107.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/wakatime/wakatime-cli"
@ -415,7 +428,7 @@ coding statistics.")
"/wakatime-cli-linux-amd64.zip"))
(sha256
(base32
"0pdjvz3lk318ply7gz6bsvprav5b2nj5qd8rblvzc948snlmps1z"))))
"03d9bl1av8z5qg0991d39bsmijlhnn25cq889y44rbh9qn9gzqhf"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
@ -427,4 +440,5 @@ coding statistics.")
(description
"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)))
(license license:bsd-3)
(properties '((upstream-name . "wakatime-cli")))))

View File

@ -14,7 +14,7 @@
(define-public cloudflared
(package
(name "cloudflared")
(version "2024.11.1")
(version "2024.12.2")
(source (origin
(method git-fetch)
(uri (git-reference
@ -26,7 +26,7 @@
;; (snippet '(delete-file-recursively "vendor"))
(sha256
(base32
"0dzknn06si0q8zqv9pwfvg7ypk46x1rl0fifwd8k0jyy47n92172"))))
"1a8dxhcd99ks051fc26kfzvjbn6ds3fny53rrqjyxgc9r0vpqkc2"))))
(build-system go-build-system)
(arguments
(list #:go go-1.23