diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-02-26 07:34:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 07:34:01 +0100 |
commit | fd5473b6f30954fa335092d8e264ba5c493e8c0c (patch) | |
tree | c509fd43096b454d9ef2d9242bc185db8c3c589a /pkgs/tools/networking | |
parent | 92b9d11129f9134f4592d3c75cb6764c1c2cfece (diff) | |
parent | b16061a4709510636cc4aad797c37271f186c12e (diff) | |
download | nixlib-fd5473b6f30954fa335092d8e264ba5c493e8c0c.tar nixlib-fd5473b6f30954fa335092d8e264ba5c493e8c0c.tar.gz nixlib-fd5473b6f30954fa335092d8e264ba5c493e8c0c.tar.bz2 nixlib-fd5473b6f30954fa335092d8e264ba5c493e8c0c.tar.lz nixlib-fd5473b6f30954fa335092d8e264ba5c493e8c0c.tar.xz nixlib-fd5473b6f30954fa335092d8e264ba5c493e8c0c.tar.zst nixlib-fd5473b6f30954fa335092d8e264ba5c493e8c0c.zip |
Merge pull request #290873 from oluceps/clash-meta-update
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"; - }; -} |