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