clash-rs: adopt (#377227)

Changed files
+6 -6
pkgs
by-name
cl
clash-rs
+6 -6
pkgs/by-name/cl/clash-rs/package.nix
···
cargoHash = "sha256-ynGp1MU0l48mD+gfsyOFNo4jJDiDWgoPLc02WblPjt4=";
+
nativeInstallCheckInputs = [
+
protobuf
+
versionCheckHook
+
];
+
env = {
-
PROTOC = "${protobuf}/bin/protoc";
# requires features: sync_unsafe_cell, unbounded_shifts, let_chains, ip
RUSTC_BOOTSTRAP = 1;
};
···
doInstallCheck = true;
versionCheckProgramArg = "--version";
-
nativeInstallCheckInputs = [
-
versionCheckHook
-
];
-
meta = {
description = "Custom protocol, rule based network proxy software";
homepage = "https://github.com/Watfaq/clash-rs";
mainProgram = "clash";
license = lib.licenses.asl20;
-
maintainers = with lib.maintainers; [ ];
+
maintainers = with lib.maintainers; [ aaronjheng ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}