clash: init at 0.16.0 (#76572)
This commit is contained in:
parent
7ef8a85540
commit
1b20a627d5
23
pkgs/tools/networking/clash/default.nix
Normal file
23
pkgs/tools/networking/clash/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "clash";
|
||||
version = "0.16.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Dreamacro";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1k6afpazggpd7cabbw6ldv77bjj43083d5diy2w0iq5nw69gmwd3";
|
||||
};
|
||||
|
||||
modSha256 = "1fx53df67mq7p3ampr96x8hd99v2991alb16v8iq36f032raa32f";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A rule-based tunnel in Go";
|
||||
homepage = "https://github.com/Dreamacro/clash";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ contrun ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -1396,6 +1396,8 @@ in
|
||||
|
||||
clac = callPackage ../tools/misc/clac {};
|
||||
|
||||
clash = callPackage ../tools/networking/clash { };
|
||||
|
||||
clasp = callPackage ../tools/misc/clasp { };
|
||||
|
||||
cli53 = callPackage ../tools/admin/cli53 { };
|
||||
|
Loading…
Reference in New Issue
Block a user