Skip to content

Commit 3f7aa85

Browse files
authored
clash-rs: adopt (#377227)
2 parents 4ebae9c + 00bcf9d commit 3f7aa85

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkgs/by-name/cl/clash-rs/package.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ rustPlatform.buildRustPackage rec {
2020

2121
cargoHash = "sha256-ynGp1MU0l48mD+gfsyOFNo4jJDiDWgoPLc02WblPjt4=";
2222

23+
nativeInstallCheckInputs = [
24+
protobuf
25+
versionCheckHook
26+
];
27+
2328
env = {
24-
PROTOC = "${protobuf}/bin/protoc";
2529
# requires features: sync_unsafe_cell, unbounded_shifts, let_chains, ip
2630
RUSTC_BOOTSTRAP = 1;
2731
};
@@ -42,16 +46,12 @@ rustPlatform.buildRustPackage rec {
4246
doInstallCheck = true;
4347
versionCheckProgramArg = "--version";
4448

45-
nativeInstallCheckInputs = [
46-
versionCheckHook
47-
];
48-
4949
meta = {
5050
description = "Custom protocol, rule based network proxy software";
5151
homepage = "https://github.com/Watfaq/clash-rs";
5252
mainProgram = "clash";
5353
license = lib.licenses.asl20;
54-
maintainers = with lib.maintainers; [ ];
54+
maintainers = with lib.maintainers; [ aaronjheng ];
5555
platforms = lib.platforms.linux ++ lib.platforms.darwin;
5656
};
5757
}

0 commit comments

Comments
 (0)