File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments