mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
ncspot: add an updateScript
This commit is contained in:
parent
045b51a3ae
commit
b87b7491f1
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user