mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
0e64c89ef1
Without the change the build fails on `staging` as: alsa-ucm-conf> Running phase: patchPhase alsa-ucm-conf> applying patch /nix/store/m1yxcbpkxrqjp7kml9ij2x4i1y5zc0m2-alsa-ucm-conf-splitpcm-device-argument-fix.patch alsa-ucm-conf> patching file ucm2/common/pcm/split.conf alsa-ucm-conf> Reversed (or previously applied) patch detected! Assume -R? [n] alsa-ucm-conf> Apply anyway? [n] alsa-ucm-conf> Skipping patch. alsa-ucm-conf> 1 out of 1 hunk ignored -- saving rejects to file ucm2/common/pcm/split.conf.rej
37 lines
821 B
Nix
37 lines
821 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "alsa-ucm-conf";
|
|
version = "1.2.11";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://alsa/lib/${pname}-${version}.tar.bz2";
|
|
hash = "sha256-OHwBzzDioWdte49ysmgc8hmrynDdHsKp4zrdW/P+roE=";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/alsa
|
|
cp -r ucm ucm2 $out/share/alsa
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.alsa-project.org/";
|
|
description = "ALSA Use Case Manager configuration";
|
|
|
|
longDescription = ''
|
|
The Advanced Linux Sound Architecture (ALSA) provides audio and
|
|
MIDI functionality to the Linux-based operating system.
|
|
'';
|
|
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.roastiek ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|