lemoa: upgrade rustPlatform.fetchCargoTarball -> rustPlatform.fetchCargoVendor

the former is deprecated
This commit is contained in:
2025-02-22 09:55:58 +00:00
parent d5226957bf
commit ec77f8f6b9

View File

@@ -2,17 +2,13 @@
cargo,
desktop-file-utils,
fetchFromGitHub,
gdk-pixbuf,
gitUpdater,
glib,
graphene,
gtk4,
lib,
libadwaita,
meson,
ninja,
openssl,
pango,
pkg-config,
rustPlatform,
rustc,
@@ -31,10 +27,10 @@ stdenv.mkDerivation rec {
hash = "sha256-XyVl0vreium83d6NqiMkdER3U0Ra0GeAgTq4pyrZyZE=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
hash = "sha256-PbgDWUEDabPFMYueRjfJoI6fsWwn8gmWd8AYCmBq29o=";
hash = "sha256-ALoxT+RLL4omJ7quWDJVdXgevaO8i8q/29FFFudIRV4=";
};
nativeBuildInputs = [