From 2e40d6ddeb7d71f46075fee163203d3a86164133 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 4 Dec 2024 06:28:10 +0000 Subject: [PATCH] spot: 0.4.1 -> 0.5.0 Diff: https://github.com/xou816/spot/compare/0.4.1...0.5.0 --- pkgs/by-name/sp/spot/package.nix | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/sp/spot/package.nix b/pkgs/by-name/sp/spot/package.nix index 8415da2f07a37..8e40e70a51ada 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 ];