bankstown-lv2: use finalAttrs; remove unused useFetchCargoVendor

This commit is contained in:
Jasi
2025-06-26 01:26:17 +02:00
committed by Yureka
parent a02f22b52c
commit 789f013c5a
+3 -4
View File
@@ -5,14 +5,14 @@
stdenv,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "bankstown-lv2";
version = "1.1.0";
src = fetchFromGitHub {
owner = "chadmed";
repo = "bankstown";
rev = version;
rev = finalAttrs.version;
hash = "sha256-IThXEY+mvT2MCw0PSWU/182xbUafd6dtm6hNjieLlKg=";
};
@@ -22,7 +22,6 @@ rustPlatform.buildRustPackage rec {
"target/${stdenv.hostPlatform.rust.cargoShortTarget}/$cargoBuildType"
'';
useFetchCargoVendor = true;
cargoHash = "sha256-eMN95QNnQtC7QDix9g3dwb9ZbtQuiVBj8+R+opFs0KI=";
dontCargoInstall = true;
@@ -42,4 +41,4 @@ rustPlatform.buildRustPackage rec {
];
platforms = platforms.linux;
};
}
})