ncspot: add an updateScript

This commit is contained in:
Olli Helenius 2023-11-14 20:08:35 +02:00
parent 045b51a3ae
commit b87b7491f1
No known key found for this signature in database
GPG Key ID: 67235CC88F41DE3C

View File

@ -12,6 +12,7 @@
, withPulseAudio ? false, libpulseaudio
, withPortAudio ? false, portaudio
, withMPRIS ? true, withNotify ? true, dbus
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
@ -53,6 +54,10 @@ rustPlatform.buildRustPackage rec {
++ lib.optional withMPRIS "mpris"
++ lib.optional withNotify "notify";
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes";
homepage = "https://github.com/hrkfdn/ncspot";