1 { lib, stdenv, fetchurl, fetchpatch }:
3 stdenv.mkDerivation rec {
4 pname = "alsa-ucm-conf";
8 url = "mirror://alsa/lib/alsa-ucm-conf-${version}.tar.bz2";
9 hash = "sha256-OHwBzzDioWdte49ysmgc8hmrynDdHsKp4zrdW/P+roE=";
14 # TODO: Remove this patch in the next package upgrade
15 name = "rt1318-fix-one.patch";
16 url = "https://github.com/alsa-project/alsa-ucm-conf/commit/7e22b7c214d346bd156131f3e6c6a5900bbf116d.patch";
17 hash = "sha256-5X0ANXTSRnC9jkvMLl7lA5TBV3d1nwWE57DP6TwliII=";
20 # TODO: Remove this patch in the next package upgrade
21 name = "rt1318-fix-two.patch";
22 url = "https://github.com/alsa-project/alsa-ucm-conf/commit/4e0fcc79b7d517a957e12f02ecae5f3c69fa94dc.patch";
23 hash = "sha256-cuZPEEqb8+d1Ak2tA+LVEh6gtGt1X+LiAnfFYMIDCXY=";
32 mkdir -p $out/share/alsa
33 cp -r ucm ucm2 $out/share/alsa
39 homepage = "https://www.alsa-project.org/";
40 description = "ALSA Use Case Manager configuration";
43 The Advanced Linux Sound Architecture (ALSA) provides audio and
44 MIDI functionality to the Linux-based operating system.
47 license = licenses.bsd3;
48 maintainers = [ maintainers.roastiek ];
49 platforms = platforms.linux;