From ec0d7f60e250b31e42e1bdb1200b18c91784ff88 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 2 Jun 2025 06:57:59 +0100 Subject: [PATCH] alsa-lib: 1.2.13 -> 1.2.14 Changes: https://www.alsa-project.org/wiki/Changes_v1.2.13_v1.2.14 --- pkgs/by-name/al/alsa-lib/package.nix | 29 +++++++++------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/pkgs/by-name/al/alsa-lib/package.nix b/pkgs/by-name/al/alsa-lib/package.nix index aa7fa40daba8..9615879f81f3 100644 --- a/pkgs/by-name/al/alsa-lib/package.nix +++ b/pkgs/by-name/al/alsa-lib/package.nix @@ -9,31 +9,20 @@ stdenv.mkDerivation (finalAttrs: { pname = "alsa-lib"; - version = "1.2.13"; + version = "1.2.14"; src = fetchurl { url = "mirror://alsa/lib/alsa-lib-${finalAttrs.version}.tar.bz2"; - hash = "sha256-jE/zdVPL6JYY4Yfkx3n3GpuyqLJ7kfh+1AmHzJIz2PY="; + hash = "sha256-vpyIoLNgQ2fddBZ6K3VKNeFC9nApKuR6L97yei7pejI="; }; - patches = - [ - # Add a "libs" field to the syntax recognized in the /etc/asound.conf file. - # The nixos modules for pulseaudio, jack, and pipewire are leveraging this - # "libs" field to declare locations for both native and 32bit plugins, in - # order to support apps with 32bit sound running on x86_64 architecture. - ./alsa-plugin-conf-multilib.patch - ] - ++ lib.optional (stdenv.hostPlatform.useLLVM or false) - # Fixes version script under LLVM, should be fixed in the next update. - # Check if "pkgsLLVM.alsa-lib" builds on next version bump and remove this - # if it succeeds. - ( - fetchurl { - url = "https://github.com/alsa-project/alsa-lib/commit/76edab4e595bd5f3f4c636cccc8d7976d3c519d6.patch"; - hash = "sha256-WCOXfe0/PPZRMXdNa29Jn28S2r0PQ7iTsabsxZVSwnk="; - } - ); + patches = [ + # Add a "libs" field to the syntax recognized in the /etc/asound.conf file. + # The nixos modules for pulseaudio, jack, and pipewire are leveraging this + # "libs" field to declare locations for both native and 32bit plugins, in + # order to support apps with 32bit sound running on x86_64 architecture. + ./alsa-plugin-conf-multilib.patch + ]; enableParallelBuilding = true;