Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
45 lines
975 B
Nix
45 lines
975 B
Nix
{
|
|
directoryListingUpdater,
|
|
fetchurl,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "alsa-ucm-conf";
|
|
version = "1.2.12";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://alsa/lib/alsa-ucm-conf-${version}.tar.bz2";
|
|
hash = "sha256-Fo58BUm3v4mRCS+iv7kDYx33edxMQ+6PQnf8t3LYwDU=";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/alsa
|
|
cp -r ucm ucm2 $out/share/alsa
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = directoryListingUpdater {
|
|
url = "https://www.alsa-project.org/files/pub/lib/";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|