Merge pull request #305038 from DashieTM/patch-1

ncspot: Adjust defaults to upstream
This commit is contained in:
Mario Rodas 2024-04-19 06:41:06 -05:00 committed by GitHub
commit b64ebbd1eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -6,12 +6,13 @@
, ncurses
, openssl
, Cocoa
, withALSA ? true, alsa-lib
, withALSA ? false, alsa-lib
, withClipboard ? true, libxcb, python3
, withCover ? false, ueberzug
, withPulseAudio ? false, libpulseaudio
, withPulseAudio ? true, libpulseaudio
, withPortAudio ? false, portaudio
, withMPRIS ? true, withNotify ? true, dbus
, withCrossterm ? true
, nix-update-script
, testers
, ncspot
@ -54,6 +55,7 @@ rustPlatform.buildRustPackage rec {
++ lib.optional withPulseAudio "pulseaudio_backend"
++ lib.optional withPortAudio "portaudio_backend"
++ lib.optional withMPRIS "mpris"
++ lib.optional withCrossterm "crossterm_backend"
++ lib.optional withNotify "notify";
postInstall = ''