wstunnel: use fetchCargoVendor

This commit is contained in:
r-vdp
2024-12-11 20:54:39 +01:00
parent 5d8194e9eb
commit 44cbb35e16
2 changed files with 2 additions and 3486 deletions
-3479
View File
File diff suppressed because it is too large Load Diff
+2 -7
View File
@@ -2,7 +2,6 @@
lib,
fetchFromGitHub,
rustPlatform,
stdenv,
nixosTests,
nix-update-script,
versionCheckHook,
@@ -23,12 +22,8 @@ rustPlatform.buildRustPackage {
hash = "sha256-ufssj7m5mly2B33e1DWY2e6AH0zTPh3SozYc663QjJ4=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"fastwebsockets-0.8.0" = "sha256-eqtCh9fMOG2uvL/GLUVXNiSB+ovYLc/Apuq9zssn8hU=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-2kpUxMT9zWEr64EP1btN+9oW87a0/bmGWUQyZakenfY=";
nativeBuildInputs = [ versionCheckHook ];