{mqttui,millet,mchprs,matrix-conduit,markdown-oxide}: use fetchCargoVendor (#387666)

This commit is contained in:
Arne Keller
2025-03-10 08:46:08 +01:00
committed by GitHub
8 changed files with 8 additions and 10656 deletions
File diff suppressed because it is too large Load Diff
+2 -8
View File
@@ -22,14 +22,8 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-mQLfRAun2G/LDnw3jyFGJbOqpxh2PL8IGzFELRfAgAI=";
};
# We have to use importCargoLock here because `cargo vendor` currently doesn't support workspace
# inheritance within Git dependencies, but importCargoLock does.
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"ruma-0.10.1" = "sha256-VmIZ24vULpm6lF24OFZdsI5JG+XqVPpUWM/R64X17jo=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-r7fOzTug0cKQUGrpXDn1JKb6/lLQDgnA3/colmldA4c=";
# Conduit enables rusqlite's bundled feature by default, but we'd rather use our copy of SQLite.
preBuild = ''
-3075
View File
File diff suppressed because it is too large Load Diff
+2 -6
View File
@@ -21,12 +21,8 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-Jm9ZsqCKOIxZsXQbCluYu7MgOD7hXYljcv/URaNVUW0=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"hematite-nbt-0.5.2" = "sha256-ohhsMlRLFNesccxhqn0GAiVswcdMldD3gv0AXcviHU8=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-YDfyixNfJsKigf3W5265CWl4ETQDeBHYpquBoFoj4Tw=";
nativeBuildInputs = [
pkg-config
-1512
View File
File diff suppressed because it is too large Load Diff
+2 -7
View File
@@ -15,13 +15,8 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-V1FToLhBzeZd3ve+eKAHniHN6oveEg0FBHnkSZPxBqo=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"chain-map-0.1.0" = "sha256-nds+lPGCbxw3GqrgfmTbKnPkiV3F6f5A2xr82qV33iI=";
"sml-libs-0.1.0" = "sha256-zQrhH24XlA9SeQ+sVzaVwJwrm80TRIjFq99Vay7QEN8=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-49dJ1USxdGK8WmPmO3z8Tkexjn4xi+qJRxawqFeIQBg=";
postPatch = ''
rm .cargo/config.toml
-2201
View File
File diff suppressed because it is too large Load Diff
+2 -10
View File
@@ -17,16 +17,8 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-q4C4YAs8Q1jHA5P2OApkFZnYM4/aZGxnE8Pd6Hmwd1I=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"ratatui-binary-data-widget-0.1.0" = "sha256-5HBqugXAb76+LDsDj+FjsyVqbLMNy503qUkZjWE6tRg=";
};
};
postPatch = ''
ln -sf ${./Cargo.lock} Cargo.lock
'';
useFetchCargoVendor = true;
cargoHash = "sha256-pn4wmlMW8p6IAHrYjmvmZxNMjIJwJ2MYRsANz4D6xCU=";
buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security;