mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-04-15 02:24:41 +00:00
rosenthal: Add clash-bin.
* rosenthal/packages/binaries.scm (clash-bin): New variable.
This commit is contained in:
parent
99dfeaf2d7
commit
f24ac6493e
@ -18,6 +18,36 @@
|
|||||||
(define license
|
(define license
|
||||||
(@@ (guix licenses) license))
|
(@@ (guix licenses) license))
|
||||||
|
|
||||||
|
(define-public clash-bin
|
||||||
|
(package
|
||||||
|
(name "clash-bin")
|
||||||
|
(version "1.17.0")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://github.com/Dreamacro/clash/releases/download/v"
|
||||||
|
version "/clash-linux-amd64-v3-v" version ".gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0b3r6z46xky01aq6f9v7vj7n8bqai2rwwpk1mng6336s72fnz6ds"))))
|
||||||
|
(build-system copy-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:install-plan
|
||||||
|
#~'((#$(format #f "clash-linux-amd64-v3-v~a" version) "bin/clash"))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'fix-permission
|
||||||
|
(lambda _
|
||||||
|
(chmod (string-append #$output "/bin/clash") #o555))))))
|
||||||
|
(supported-systems '("x86_64-linux"))
|
||||||
|
(home-page "https://github.com/Dreamacro/clash")
|
||||||
|
(synopsis "Rule-based tunnel in Go")
|
||||||
|
(description
|
||||||
|
"Clash is a cross-platform rule-based proxy utility that runs on the
|
||||||
|
network and application layer, supporting various proxy and anti-censorship
|
||||||
|
protocols out-of-the-box.")
|
||||||
|
(license license:gpl3)))
|
||||||
|
|
||||||
(define-public cloudflare-warp-bin
|
(define-public cloudflare-warp-bin
|
||||||
(package
|
(package
|
||||||
(name "cloudflare-warp-bin")
|
(name "cloudflare-warp-bin")
|
||||||
|
Loading…
Reference in New Issue
Block a user