Merge pull request #76815 from filalex77/clash-0.17.1

clash: 0.16.0 -> 0.17.1
This commit is contained in:
Maximilian Bosch 2020-01-02 20:31:37 +01:00 committed by GitHub
commit dad49d0b5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
};
}