diff --git a/pkgs/by-name/sp/spot/package.nix b/pkgs/by-name/sp/spot/package.nix index 8415da2f07a3..8e40e70a51ad 100644 --- a/pkgs/by-name/sp/spot/package.nix +++ b/pkgs/by-name/sp/spot/package.nix @@ -1,59 +1,58 @@ { lib, stdenv, - fetchFromGitHub, - rustPlatform, - cargo, - rustc, alsa-lib, appstream-glib, blueprint-compiler, + cargo, desktop-file-utils, + fetchFromGitHub, gettext, glib, gst_all_1, gtk4, libadwaita, - libpulseaudio, libhandy, + libpulseaudio, meson, ninja, nix-update-script, openssl, pkg-config, + rustPlatform, + rustc, wrapGAppsHook4, }: stdenv.mkDerivation rec { pname = "spot"; - version = "0.4.1"; + version = "0.5.0"; src = fetchFromGitHub { owner = "xou816"; repo = "spot"; - rev = version; - hash = "sha256-F875e/VZyN8mTfe9lgjtILNxMqn+66XoPCdaEUagHyU="; + rev = "refs/tags/${version}"; + hash = "sha256-7zWK0wkh53ojnoznv4T/X//JeyKJVKOrfYF0IkvciIY="; }; cargoDeps = rustPlatform.fetchCargoTarball { - inherit src; - name = "${pname}-${version}"; - hash = "sha256-45Rqs2/tSWoyZVjFuygR5SxldjoqpprtOKEnMqJK+p8="; + inherit pname version src; + hash = "sha256-AaRmTOgFmBi0s1zdIVHc6bLjrUopy9YuB3GJOCnbjU4="; }; nativeBuildInputs = [ - cargo - rustc appstream-glib blueprint-compiler + cargo desktop-file-utils gettext - gtk4 # for gtk-update-icon-cache glib # for glib-compile-schemas + gtk4 # for gtk-update-icon-cache meson ninja pkg-config rustPlatform.cargoSetupHook + rustc wrapGAppsHook4 ];