Compare commits

..

No commits in common. "c7689a56a21710aff1121f7c0c59dfa9e9137ed1" and "c7986b5d5825c2a2274b8c970f011474abbad942" have entirely different histories.

3 changed files with 27 additions and 82 deletions

View File

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

View File

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