mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
commit
02b5571c81
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue