rosenthal: Add clash-bin.

* rosenthal/packages/binaries.scm (clash-bin): New variable.
pull/1/head
Hilton Chain 1 year ago
parent 99dfeaf2d7
commit f24ac6493e
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292
  1. 30
      rosenthal/packages/binaries.scm

@ -18,6 +18,36 @@
(define 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
(package
(name "cloudflare-warp-bin")

Loading…
Cancel
Save