{salut,silicon,snx-rs,sonusmix,squirreldisk}: use fetchCargoVendor (#392693)

This commit is contained in:
Nick Cao
2025-03-24 17:18:17 -04:00
committed by GitHub
10 changed files with 10 additions and 14342 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -19,15 +19,8 @@ rustPlatform.buildRustPackage {
hash = "sha256-W0lhhImSXtYJDeMbxyEioYu/Bh7ZclwR1/5DzNbxM8o=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"msg-api-0.1.0" = "sha256-SGEr9kitvD+KZPGejwDAISK6ERk7G2uskxX8ljiJ2To=";
"smithay-client-toolkit-0.16.0" = "sha256-kiTO+BZIgpuwAr6gs9FCqz81jRg+3dV4NxzOX9kbJOc=";
"snui-0.1.4" = "sha256-jJL9ukSOczHjPM2EAXcXcz620SK4DQfr+xAT8v7fp9o=";
"snui-adwaita-0.1.0" = "sha256-pILhLMzqnhLZfGAXT8QQn6x+IvwG7CSa96wZqq1yrLY=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-xqj9USqVG7g2zT2P3VxDVt8fFDtyUnZOdT6gYZh4cRI=";
nativeBuildInputs = [
pkg-config

File diff suppressed because it is too large Load Diff

View File

@@ -27,12 +27,8 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-lwwbjSXW5uonJNZTAqTK14Ib4QDOD4puxY2CsiJk4/Q=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"pathfinder_simd-0.5.4" = "sha256-RiivtlfdA44vQtFAzNQY9hu2FBwgq4aJ2hjQS8+Xucc=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-MpmGLhg00quz4mYkidLofpcZTVwxbgIThg5v2r4HIfs=";
buildInputs =
[

File diff suppressed because it is too large Load Diff

View File

@@ -56,12 +56,8 @@ rustPlatform.buildRustPackage rec {
"--skip=platform::linux::net::tests::test_default_ip"
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"isakmp-0.1.0" = "sha256-bT/WXo5u/qmuLz39Yp+QVyXHwyQvl10frrtCJKb9WUQ=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-Hjc2wKkNmlVjZb5wz9fq9hzUsxXJyeFYq+4C+weUlq0=";
meta = {
description = "Open source Linux client for Checkpoint VPN tunnels";

File diff suppressed because it is too large Load Diff

View File

@@ -23,12 +23,8 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-vqbYJuErghSsvkFccLFUYuf1Dsg17tCBhF4/NLcba/E=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"libspa-0.8.0" = "sha256-R68TkFbzDFA/8Btcar+0omUErLyBMm4fsmQlCvfqR9o=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-KiCJ8XOU5qnO0zB1K7XBTx35WWUpAmqPFkNZOIgwLA0=";
nativeBuildInputs = [
pkg-config

File diff suppressed because it is too large Load Diff

View File

@@ -45,18 +45,12 @@ rustPlatform.buildRustPackage rec {
sourceRoot = "${src.name}/src-tauri";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"window-shadows-0.2.1" = "sha256-3meM04TG63PvB0M5wUH1cDMBo7ObcB0zdgwGt2aKHMs=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-dFTdbMX355klZ2wY160bYcgMiOiOGplEU7/e6Btv5JI=";
# copy the frontend static resources to final build directory
# Also modify tauri.conf.json so that it expects the resources at the new location
postPatch = ''
cp ${./Cargo.lock} Cargo.lock
mkdir -p frontend-build
cp -r ${frontend-build}/* frontend-build