From 525d9c75f6949e6c574dee411d3e1f73466e116b Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 1 Apr 2026 08:31:12 -0500 Subject: [PATCH] librespot: migrate to by-name --- .../default.nix => by-name/li/librespot/package.nix} | 5 +++-- pkgs/top-level/all-packages.nix | 6 ------ 2 files changed, 3 insertions(+), 8 deletions(-) rename pkgs/{applications/audio/librespot/default.nix => by-name/li/librespot/package.nix} (94%) diff --git a/pkgs/applications/audio/librespot/default.nix b/pkgs/by-name/li/librespot/package.nix similarity index 94% rename from pkgs/applications/audio/librespot/default.nix rename to pkgs/by-name/li/librespot/package.nix index 94c51b22b5eb..24dd76fd0f1d 100644 --- a/pkgs/applications/audio/librespot/default.nix +++ b/pkgs/by-name/li/librespot/package.nix @@ -9,10 +9,11 @@ withALSA ? stdenv.hostPlatform.isLinux, alsa-lib, alsa-plugins, - withPortAudio ? false, + withPortAudio ? stdenv.hostPlatform.isDarwin, portaudio, - withPulseAudio ? false, + withPulseAudio ? config.pulseaudio or stdenv.hostPlatform.isLinux, libpulseaudio, + config, withRodio ? true, withAvahi ? false, withMDNS ? true, diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cb5759dcc792..91b3d8ac762a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9676,12 +9676,6 @@ with pkgs; } ); - librespot = callPackage ../applications/audio/librespot { - withALSA = stdenv.hostPlatform.isLinux; - withPulseAudio = config.pulseaudio or stdenv.hostPlatform.isLinux; - withPortAudio = stdenv.hostPlatform.isDarwin; - }; - linssid = libsForQt5.callPackage ../applications/networking/linssid { }; deadd-notification-center = haskell.lib.compose.justStaticExecutables (