mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #76815 from filalex77/clash-0.17.1
clash: 0.16.0 -> 0.17.1
This commit is contained in:
commit
dad49d0b5e
@ -2,22 +2,28 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "clash";
|
||||
version = "0.16.0";
|
||||
version = "0.17.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Dreamacro";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1k6afpazggpd7cabbw6ldv77bjj43083d5diy2w0iq5nw69gmwd3";
|
||||
sha256 = "0zhbaw9jzl9wqc7yx8yxqlb6fwkss4pqkv26069qg6nsk584ndnf";
|
||||
};
|
||||
|
||||
modSha256 = "1fx53df67mq7p3ampr96x8hd99v2991alb16v8iq36f032raa32f";
|
||||
goPackagePath = "github.com/Dreamacro/clash";
|
||||
modSha256 = "0vyd61bin7hmpdqrmrikc776mgif9v25627n8hzi65kiycv40kgx";
|
||||
|
||||
buildFlagsArray = [
|
||||
"-ldflags="
|
||||
"-X ${goPackagePath}/constant.Version=${version}"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A rule-based tunnel in Go";
|
||||
homepage = "https://github.com/Dreamacro/clash";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ contrun ];
|
||||
maintainers = with maintainers; [ contrun filalex77 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user