1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-30 13:05:15 +03:00

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 { buildGoModule rec {
pname = "clash"; pname = "clash";
version = "0.16.0"; version = "0.17.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Dreamacro"; owner = "Dreamacro";
repo = pname; repo = pname;
rev = "v${version}"; 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; { meta = with stdenv.lib; {
description = "A rule-based tunnel in Go"; description = "A rule-based tunnel in Go";
homepage = "https://github.com/Dreamacro/clash"; homepage = "https://github.com/Dreamacro/clash";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ contrun ]; maintainers = with maintainers; [ contrun filalex77 ];
platforms = platforms.all; platforms = platforms.all;
}; };
} }