From 0a480f1316db1d9c739f43aa92763328dba2a8f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 2 Jul 2026 15:11:23 +0200 Subject: [PATCH 1/4] go-librespot: init at 0.7.4 --- pkgs/by-name/go/go-librespot/package.nix | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 pkgs/by-name/go/go-librespot/package.nix diff --git a/pkgs/by-name/go/go-librespot/package.nix b/pkgs/by-name/go/go-librespot/package.nix new file mode 100644 index 000000000000..a69b9b977f86 --- /dev/null +++ b/pkgs/by-name/go/go-librespot/package.nix @@ -0,0 +1,60 @@ +{ + alsa-lib, + buildGoModule, + fetchFromGitHub, + flac, + lib, + libogg, + libvorbis, + pkg-config, + stdenv, +}: + +buildGoModule (finalAttrs: { + pname = "go-librespot"; + version = "0.7.4"; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "devgianlu"; + repo = "go-librespot"; + tag = "v${finalAttrs.version}"; + hash = "sha256-TJQMfZRuWDu83QZeCU+EQ90WX6gT5+nXbYRIqfvXRp8="; + }; + + vendorHash = "sha256-kCzzybOEP4Tp7OGFZBjIP1FgcQ9u+lgO3931gbaG9hA="; + + subPackages = [ "cmd/daemon" ]; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + flac + libogg + libvorbis + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + alsa-lib + ]; + + ldflags = [ + "-s" + "-X github.com/devgianlu/go-librespot.version=v${finalAttrs.version}" + ]; + + postInstall = '' + mv $out/bin/daemon $out/bin/go-librespot + ''; + + meta = { + description = "Yet another open source Spotify client, written in Go"; + mainProgram = "go-librespot"; + homepage = "https://github.com/devgianlu/go-librespot"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ + sweenu + emilylange + ]; + }; +}) From cf224c5c4628cdac3b04de8708f9dfa4d64562b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 10 Jul 2026 20:49:13 +0200 Subject: [PATCH 2/4] python3Packages.markdownify: 1.2.2 -> 1.2.3 Diff: https://github.com/matthewwithanm/python-markdownify/compare/1.2.2...1.2.3 Changelog: https://github.com/matthewwithanm/python-markdownify/releases/tag/1.2.3 --- pkgs/development/python-modules/markdownify/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/markdownify/default.nix b/pkgs/development/python-modules/markdownify/default.nix index 2af5955da653..48bedd08ddfe 100644 --- a/pkgs/development/python-modules/markdownify/default.nix +++ b/pkgs/development/python-modules/markdownify/default.nix @@ -11,14 +11,14 @@ buildPythonPackage (finalAttrs: { pname = "markdownify"; - version = "1.2.2"; + version = "1.2.3"; pyproject = true; src = fetchFromGitHub { owner = "matthewwithanm"; repo = "python-markdownify"; tag = finalAttrs.version; - hash = "sha256-r6nah7QavrMjIHd5hByhy90OoTDb2iIhFZ+YV0h61fU="; + hash = "sha256-zhkWkEFdDLVvA0xgFOG2PDXCTLZy+DWweuiiSVNUU80="; }; build-system = [ From 75d96b8f258f2ce2441cade70afc4d206a0416e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 2 Jul 2026 14:54:31 +0200 Subject: [PATCH 3/4] music-assistant: 2.9.4 -> 2.9.6 Diff: https://github.com/music-assistant/server/compare/2.9.4...2.9.6 Changelog: https://github.com/music-assistant/server/releases/tag/2.9.6 --- pkgs/by-name/mu/music-assistant/package.nix | 5 +++-- pkgs/by-name/mu/music-assistant/providers.nix | 8 +++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/mu/music-assistant/package.nix b/pkgs/by-name/mu/music-assistant/package.nix index 70d6420d7e86..38490bcda4d0 100644 --- a/pkgs/by-name/mu/music-assistant/package.nix +++ b/pkgs/by-name/mu/music-assistant/package.nix @@ -40,7 +40,7 @@ assert pythonPackages.buildPythonApplication (finalAttrs: { pname = "music-assistant"; - version = "2.9.4"; + version = "2.9.6"; pyproject = true; __structuredAttrs = true; @@ -48,7 +48,7 @@ pythonPackages.buildPythonApplication (finalAttrs: { owner = "music-assistant"; repo = "server"; tag = finalAttrs.version; - hash = "sha256-PiSBghhlxknijRqghkO8wn1CB2XqaJrjrvGNvZUlNbo="; + hash = "sha256-lEbWQi6iUvqL2MXk/ZqkdX4Ou5pFWIVi6qfSyWCs8uQ="; }; patches = [ @@ -146,6 +146,7 @@ pythonPackages.buildPythonApplication (finalAttrs: { gql ifaddr librosa + markdownify mashumaro modern-colorthief music-assistant-frontend diff --git a/pkgs/by-name/mu/music-assistant/providers.nix b/pkgs/by-name/mu/music-assistant/providers.nix index 8c75a4f5c2c2..6d12a614238b 100644 --- a/pkgs/by-name/mu/music-assistant/providers.nix +++ b/pkgs/by-name/mu/music-assistant/providers.nix @@ -1,7 +1,7 @@ # Do not edit manually, run ./update-providers.py { - version = "2.9.4"; + version = "2.9.6"; builtins = [ "builtin" "coverartarchive" @@ -272,10 +272,8 @@ ps: with ps; [ pkce ]; - spotify_connect = - ps: with ps; [ - pkce - ]; + spotify_connect = ps: [ + ]; squeezelite = ps: with ps; [ aioslimproto From 59395418b0c067afb0349784cf90d76c872ef9d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 2 Jul 2026 15:09:34 +0200 Subject: [PATCH 4/4] nixos/music-assistant: use go-librespot for spotify_connect --- nixos/modules/services/audio/music-assistant.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/audio/music-assistant.nix b/nixos/modules/services/audio/music-assistant.nix index 8be485f1ec76..be69ad9ba057 100644 --- a/nixos/modules/services/audio/music-assistant.nix +++ b/nixos/modules/services/audio/music-assistant.nix @@ -146,9 +146,12 @@ in ++ lib.optionals (lib.elem "airplay_receiver" cfg.providers) [ shairport-sync ] - ++ lib.optionals (lib.elem "spotify" cfg.providers || lib.elem "spotify_connect" cfg.providers) [ + ++ lib.optionals (lib.elem "spotify" cfg.providers) [ librespot-ma ] + ++ lib.optionals (lib.elem "spotify_connect" cfg.providers) [ + go-librespot + ] ++ lib.optionals (lib.elem "snapcast" cfg.providers) [ snapcast ]