diff options
author | oluceps <i@oluceps.uk> | 2024-02-23 20:03:28 +0800 |
---|---|---|
committer | oluceps <i@oluceps.uk> | 2024-02-23 20:07:25 +0800 |
commit | b16061a4709510636cc4aad797c37271f186c12e (patch) | |
tree | 3af1ea72c72a5b0466bd79440b9557165c8de7f2 /pkgs/tools/networking | |
parent | 6e62521155cd3b4cdf6b49ecacf63db2a0cacc73 (diff) | |
download | nixlib-b16061a4709510636cc4aad797c37271f186c12e.tar nixlib-b16061a4709510636cc4aad797c37271f186c12e.tar.gz nixlib-b16061a4709510636cc4aad797c37271f186c12e.tar.bz2 nixlib-b16061a4709510636cc4aad797c37271f186c12e.tar.lz nixlib-b16061a4709510636cc4aad797c37271f186c12e.tar.xz nixlib-b16061a4709510636cc4aad797c37271f186c12e.tar.zst nixlib-b16061a4709510636cc4aad797c37271f186c12e.zip |
clash-meta: 1.16.0 -> 1.18.1
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/clash-meta/default.nix | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/pkgs/tools/networking/clash-meta/default.nix b/pkgs/tools/networking/clash-meta/default.nix deleted file mode 100644 index 2ec32960d7fa..000000000000 --- a/pkgs/tools/networking/clash-meta/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib -, fetchFromGitHub -, buildGoModule -}: -buildGoModule rec { - pname = "clash-meta"; - version = "1.16.0"; - - src = fetchFromGitHub { - owner = "MetaCubeX"; - repo = "Clash.Meta"; - rev = "v${version}"; - hash = "sha256-ORyjCYf2OPrSt/juiBk0Gf2Az4XoZipKBWWFXf8nIqE="; - }; - - vendorHash = "sha256-ySCmHLuMTCxBcAYo7YD8zOpUAa90PQmeLLt+uOn40Pk="; - - # Do not build testing suit - excludedPackages = [ "./test" ]; - - ldflags = [ - "-s" - "-w" - "-X github.com/Dreamacro/clash/constant.Version=${version}" - ]; - - tags = [ - "with_gvisor" - ]; - - # network required - doCheck = false; - - postInstall = '' - mv $out/bin/clash $out/bin/clash-meta - ''; - - meta = with lib; { - description = "Another Clash Kernel"; - homepage = "https://github.com/MetaCubeX/Clash.Meta"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ oluceps ]; - mainProgram = "clash-meta"; - }; -} |