mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-04-19 04:24:31 +00:00
Compare commits
11 Commits
c7986b5d58
...
c7689a56a2
Author | SHA1 | Date | |
---|---|---|---|
|
c7689a56a2 | ||
|
4ef2eb9ad1 | ||
|
a59d496c74 | ||
|
c35a935163 | ||
|
dc184aa9fd | ||
|
d5b1236487 | ||
|
c30bf61086 | ||
|
6945a72a17 | ||
|
9b280ab3c4 | ||
|
7c2d02c6e7 | ||
|
c73748e9d2 |
41
guix/import/rosenthal-updaters.scm
Normal file
41
guix/import/rosenthal-updaters.scm
Normal 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)))
|
@ -23,7 +23,7 @@
|
|||||||
(define-public atuin-bin
|
(define-public atuin-bin
|
||||||
(package
|
(package
|
||||||
(name "atuin-bin")
|
(name "atuin-bin")
|
||||||
(version "18.3.0")
|
(version "18.4.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -31,7 +31,7 @@
|
|||||||
version "/atuin-x86_64-unknown-linux-gnu.tar.gz"))
|
version "/atuin-x86_64-unknown-linux-gnu.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"14hp673i8in9adahg01bldlwyip7kg5vdnqi5jczinv8ibxnswg3"))))
|
"09rbk68mlfvjqzpydq9i83c05vpvn03s2343mswimc5svlclwslh"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan #~'(("atuin" "bin/"))
|
(list #:install-plan #~'(("atuin" "bin/"))
|
||||||
@ -68,7 +68,8 @@
|
|||||||
"Atuin replaces existing shell history with a SQLite database, and records
|
"Atuin replaces existing shell history with a SQLite database, and records
|
||||||
additional context for commands. Additionally, it provides optional and fully
|
additional context for commands. Additionally, it provides optional and fully
|
||||||
encrypted synchronisation of history between machines, via an Atuin server.")
|
encrypted synchronisation of history between machines, via an Atuin server.")
|
||||||
(license license:gpl3)))
|
(license license:gpl3)
|
||||||
|
(properties '((upstream-name . "atuin")))))
|
||||||
|
|
||||||
(define-public clash-bin
|
(define-public clash-bin
|
||||||
(package
|
(package
|
||||||
@ -103,7 +104,7 @@ protocols out-of-the-box.")
|
|||||||
(define-public mihomo-bin
|
(define-public mihomo-bin
|
||||||
(package
|
(package
|
||||||
(name "mihomo-bin")
|
(name "mihomo-bin")
|
||||||
(version "1.18.9")
|
(version "1.19.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -111,7 +112,7 @@ protocols out-of-the-box.")
|
|||||||
version "/mihomo-linux-amd64-v" version ".gz"))
|
version "/mihomo-linux-amd64-v" version ".gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0xq2baqcfd6hnyl1h3q34ymqd227dm06r7dz76s46k7mx7yz7jsb"))))
|
"0y3hwwzgiy81zjil3kgc1llz9s8hlbyy35ykr59za3fyc53l269q"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan
|
(list #:install-plan
|
||||||
@ -128,7 +129,8 @@ protocols out-of-the-box.")
|
|||||||
(synopsis "Rule-based tunnel in Go")
|
(synopsis "Rule-based tunnel in Go")
|
||||||
(description
|
(description
|
||||||
"This package provides @command{mihomo}, another @code{clash} kernel.")
|
"This package provides @command{mihomo}, another @code{clash} kernel.")
|
||||||
(license license:gpl3)))
|
(license license:gpl3)
|
||||||
|
(properties '((upstream-name . "mihomo")))))
|
||||||
|
|
||||||
(define-public clash-meta-bin
|
(define-public clash-meta-bin
|
||||||
(deprecated-package "clash-meta-bin" mihomo-bin))
|
(deprecated-package "clash-meta-bin" mihomo-bin))
|
||||||
@ -136,7 +138,7 @@ protocols out-of-the-box.")
|
|||||||
(define-public cloudflare-warp-bin
|
(define-public cloudflare-warp-bin
|
||||||
(package
|
(package
|
||||||
(name "cloudflare-warp-bin")
|
(name "cloudflare-warp-bin")
|
||||||
(version "2024.9.346.0")
|
(version "2024.12.554.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://pkg.cloudflareclient.com"
|
(uri (string-append "https://pkg.cloudflareclient.com"
|
||||||
@ -144,7 +146,7 @@ protocols out-of-the-box.")
|
|||||||
"cloudflare-warp_" version "_amd64.deb"))
|
"cloudflare-warp_" version "_amd64.deb"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1jrvhb4ka6j0fn9ymnpz1j4anljhl3b15h54np40x0p2d5c28czi"))))
|
"00qan4yaq0hcqw8gfv7jgb1vm2milzlfgzh7frp9f9567115fjwc"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan
|
(list #:install-plan
|
||||||
@ -196,12 +198,16 @@ different needs.")
|
|||||||
(license
|
(license
|
||||||
(license "Nonfree"
|
(license "Nonfree"
|
||||||
"https://www.cloudflare.com/application/terms/"
|
"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
|
(define-public hugo-bin
|
||||||
(package
|
(package
|
||||||
(name "hugo-bin")
|
(name "hugo-bin")
|
||||||
(version "0.136.5")
|
(version "0.140.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -209,7 +215,7 @@ different needs.")
|
|||||||
version "/hugo_extended_" version "_linux-amd64.tar.gz"))
|
version "/hugo_extended_" version "_linux-amd64.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1zvhpyqad402ifa4gyin6apxmyhxg5ww8d7ng7h7q1qbpcd7rgmp"))))
|
"0bzpw3bylgwzgsf570ywvlp9v7z3wh73gb4yw8kjip9s2klnxvvy"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan #~'(("hugo" "bin/"))
|
(list #:install-plan #~'(("hugo" "bin/"))
|
||||||
@ -236,7 +242,8 @@ different needs.")
|
|||||||
(description
|
(description
|
||||||
"Hugo is a static site generator written in Go, optimized for speed and
|
"Hugo is a static site generator written in Go, optimized for speed and
|
||||||
designed for flexibility.")
|
designed for flexibility.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)
|
||||||
|
(properties '((upstream-name . "hugo")))))
|
||||||
|
|
||||||
(define miniflux-injector
|
(define miniflux-injector
|
||||||
(package
|
(package
|
||||||
@ -306,7 +313,8 @@ results are added in a sidebar next to search engine results.")
|
|||||||
(description
|
(description
|
||||||
"Shadow TLS is a proxy to expose real tls handshake to the @acronym{MITM,
|
"Shadow TLS is a proxy to expose real tls handshake to the @acronym{MITM,
|
||||||
monster-in-the-middle}.")
|
monster-in-the-middle}.")
|
||||||
(license license:expat)))
|
(license license:expat)
|
||||||
|
(properties '((upstream-name . "shadow-tls")))))
|
||||||
|
|
||||||
(define sidebery
|
(define sidebery
|
||||||
(package
|
(package
|
||||||
@ -340,7 +348,7 @@ in sidebar.")
|
|||||||
(define-public sing-box-bin
|
(define-public sing-box-bin
|
||||||
(package
|
(package
|
||||||
(name "sing-box-bin")
|
(name "sing-box-bin")
|
||||||
(version "1.10.1")
|
(version "1.10.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -348,7 +356,7 @@ in sidebar.")
|
|||||||
version "/sing-box-" version "-linux-amd64.tar.gz"))
|
version "/sing-box-" version "-linux-amd64.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0cadcqisnfzzf9154bj29ik1sh829rhgqqsjjxa31mgzfzn5ghcy"))))
|
"1yysfdac9g61qn5pj7r0nyy3jrar55g5h0g7c7k2b0843ldkvd8q"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments (list #:install-plan #~'(("sing-box" "bin/"))))
|
(arguments (list #:install-plan #~'(("sing-box" "bin/"))))
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
@ -356,19 +364,20 @@ in sidebar.")
|
|||||||
(synopsis "Universal proxy platform")
|
(synopsis "Universal proxy platform")
|
||||||
(description
|
(description
|
||||||
"This package provides @command{sing-box}, a universal proxy platform.")
|
"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
|
(define-public tailscale-bin
|
||||||
(package
|
(package
|
||||||
(name "tailscale-bin")
|
(name "tailscale-bin")
|
||||||
(version "1.76.6")
|
(version "1.78.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://pkgs.tailscale.com"
|
(uri (string-append "https://pkgs.tailscale.com"
|
||||||
"/stable/tailscale_" version "_amd64.tgz"))
|
"/stable/tailscale_" version "_amd64.tgz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1xv1zx171k2vh6dv8hn115r8il2ckhd273x2r88y9fgpg1xkgwh8"))))
|
"12aa8zr8b8x374vg48p6lcfzfwjjf2k9ywvbrdrj2080d2yr3d1x"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan
|
(list #:install-plan
|
||||||
@ -379,12 +388,15 @@ in sidebar.")
|
|||||||
(description
|
(description
|
||||||
"This package provides @command{tailscale}, which brings an easy and secure
|
"This package provides @command{tailscale}, which brings an easy and secure
|
||||||
way to use WireGuard and 2FA.")
|
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
|
(define-public wakapi-bin
|
||||||
(package
|
(package
|
||||||
(name "wakapi-bin")
|
(name "wakapi-bin")
|
||||||
(version "2.12.1")
|
(version "2.12.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -392,7 +404,7 @@ way to use WireGuard and 2FA.")
|
|||||||
version "/wakapi_linux_amd64.zip"))
|
version "/wakapi_linux_amd64.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0kfid6ii9y1sp2w1na55mybyjya1c2k0jgj9h4zf64kg7isv626w"))))
|
"0g2in93c0jl3wc0pwx6qpczvvmlqy37n33bmdzbm57pi13r182lf"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments (list #:install-plan #~'(("wakapi" "bin/wakapi"))))
|
(arguments (list #:install-plan #~'(("wakapi" "bin/wakapi"))))
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
@ -402,12 +414,13 @@ way to use WireGuard and 2FA.")
|
|||||||
(description
|
(description
|
||||||
"This package provides @code{wakapi}, a WakaTime-compatible backend for
|
"This package provides @code{wakapi}, a WakaTime-compatible backend for
|
||||||
coding statistics.")
|
coding statistics.")
|
||||||
(license license:expat)))
|
(license license:expat)
|
||||||
|
(properties '((upstream-name . "wakapi")))))
|
||||||
|
|
||||||
(define-public wakatime-cli-bin
|
(define-public wakatime-cli-bin
|
||||||
(package
|
(package
|
||||||
(name "wakatime-cli-bin")
|
(name "wakatime-cli-bin")
|
||||||
(version "1.102.4")
|
(version "1.107.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://github.com/wakatime/wakatime-cli"
|
(uri (string-append "https://github.com/wakatime/wakatime-cli"
|
||||||
@ -415,7 +428,7 @@ coding statistics.")
|
|||||||
"/wakatime-cli-linux-amd64.zip"))
|
"/wakatime-cli-linux-amd64.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0pdjvz3lk318ply7gz6bsvprav5b2nj5qd8rblvzc948snlmps1z"))))
|
"03d9bl1av8z5qg0991d39bsmijlhnn25cq889y44rbh9qn9gzqhf"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan
|
(list #:install-plan
|
||||||
@ -427,4 +440,5 @@ coding statistics.")
|
|||||||
(description
|
(description
|
||||||
"This package provides @command{wakatime-cli}, the command line interface
|
"This package provides @command{wakatime-cli}, the command line interface
|
||||||
to WakaTime, which is used by all WakaTime text editor plugins.")
|
to WakaTime, which is used by all WakaTime text editor plugins.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)
|
||||||
|
(properties '((upstream-name . "wakatime-cli")))))
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
(define-public cloudflared
|
(define-public cloudflared
|
||||||
(package
|
(package
|
||||||
(name "cloudflared")
|
(name "cloudflared")
|
||||||
(version "2024.11.1")
|
(version "2024.12.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -26,7 +26,7 @@
|
|||||||
;; (snippet '(delete-file-recursively "vendor"))
|
;; (snippet '(delete-file-recursively "vendor"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0dzknn06si0q8zqv9pwfvg7ypk46x1rl0fifwd8k0jyy47n92172"))))
|
"1a8dxhcd99ks051fc26kfzvjbn6ds3fny53rrqjyxgc9r0vpqkc2"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:go go-1.23
|
(list #:go go-1.23
|
||||||
|
Loading…
Reference in New Issue
Block a user