diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-21 19:12:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-21 19:12:42 +0300 |
commit | 02b5571c81bf6e8c4b573b3155ec48a953348d8e (patch) | |
tree | 31080a4ad93fc8b540525ada11ad4c95cbee916f | |
parent | 5992626ba73a8b1f5ef26f6e767c53f9ba991c35 (diff) | |
parent | 27c87a1069eaf8b0ec2d57a4efbde66bb97b8376 (diff) |
Merge pull request #233230 from fabaff/clash-bump
clash: update meta
-rw-r--r-- | pkgs/tools/networking/clash/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/tools/networking/clash/default.nix b/pkgs/tools/networking/clash/default.nix index fdeb770e0546b..589a50985de94 100644 --- a/pkgs/tools/networking/clash/default.nix +++ b/pkgs/tools/networking/clash/default.nix @@ -1,4 +1,9 @@ -{ lib, fetchFromGitHub, buildGoModule, testers, clash }: +{ lib +, fetchFromGitHub +, buildGoModule +, testers +, clash +}: buildGoModule rec { pname = "clash"; @@ -7,7 +12,7 @@ buildGoModule rec { src = fetchFromGitHub { owner = "Dreamacro"; repo = pname; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-y2Z4YaVKKFxZzLUOUs1PeMkWhFimAhu9nAahhX/4Xn8="; }; @@ -31,7 +36,8 @@ buildGoModule rec { meta = with lib; { description = "A rule-based tunnel in Go"; - homepage = "https://github.com/Dreamacro/clash"; + homepage = "https://dreamacro.github.io/clash/"; + changelog = "https://github.com/Dreamacro/clash/releases/tag/v${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ contrun Br1ght0ne ]; }; |