clash: 1.17.0 -> 1.18.0

This commit is contained in:
Aaron Jheng 2023-08-22 11:11:28 +08:00
parent 46e52862ed
commit 4b645383ce
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3
2 changed files with 11 additions and 5 deletions

View File

@ -7,16 +7,16 @@
buildGoModule rec {
pname = "clash";
version = "1.17.0";
version = "1.18.0";
src = fetchFromGitHub {
owner = "Dreamacro";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-hUkUfNsThir0txO7cdxJl3sUF8/wHDvDPVspGp5xYUQ=";
rev = "v${version}";
hash = "sha256-LqjSPlPkR5sB4Z1pmpdE9r66NN7pwgE9GK4r1zSFlxs=";
};
vendorHash = "sha256-M2hoorCBdq2nm5Gc5Xm6r7Cg9XUOirDyqTKwrmu121s=";
vendorHash = "sha256-EWAbEFYr15RiJk9IXF6KaaX4GaSCa6E4+8rKL4/XG8Y=";
# Do not build testing suit
excludedPackages = [ "./test" ];
@ -29,6 +29,10 @@ buildGoModule rec {
"-X github.com/Dreamacro/clash/constant.Version=${version}"
];
checkFlags = [
"-skip=TestParseRule" # Flaky tests
];
passthru.tests.version = testers.testVersion {
package = clash;
command = "clash -v";

View File

@ -4575,7 +4575,9 @@ with pkgs;
map-cmd = callPackage ../tools/misc/map { };
clash = callPackage ../tools/networking/clash { };
clash = callPackage ../tools/networking/clash {
buildGoModule = buildGo121Module;
};
clash-geoip = callPackage ../data/misc/clash-geoip { };