mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
ncspot: add an updateScript
This commit is contained in:
parent
045b51a3ae
commit
b87b7491f1
@ -12,6 +12,7 @@
|
|||||||
, withPulseAudio ? false, libpulseaudio
|
, withPulseAudio ? false, libpulseaudio
|
||||||
, withPortAudio ? false, portaudio
|
, withPortAudio ? false, portaudio
|
||||||
, withMPRIS ? true, withNotify ? true, dbus
|
, withMPRIS ? true, withNotify ? true, dbus
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -53,6 +54,10 @@ rustPlatform.buildRustPackage rec {
|
|||||||
++ lib.optional withMPRIS "mpris"
|
++ lib.optional withMPRIS "mpris"
|
||||||
++ lib.optional withNotify "notify";
|
++ lib.optional withNotify "notify";
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes";
|
description = "Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes";
|
||||||
homepage = "https://github.com/hrkfdn/ncspot";
|
homepage = "https://github.com/hrkfdn/ncspot";
|
||||||
|
Loading…
Reference in New Issue
Block a user