pine64-alsa-ucm: init

This commit is contained in:
2024-10-10 01:50:37 +00:00
parent 450c61f384
commit f43cdcbe32

View File

@@ -0,0 +1,26 @@
{
fetchFromGitLab,
stdenv,
}:
stdenv.mkDerivation {
pname = "pine64-alsa-ucm";
version = "unstable-2021-12-10";
src = fetchFromGitLab {
owner = "pine64-org";
repo = "pine64-alsa-ucm";
rev = "ec0ef36b8b897ed1ae6bb0d0de13d5776f5d3659";
hash = "sha256-nsZXBB5VpF0YpfIS+/SSHMlPXSyIGLZSOkovjag8ifU=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/alsa
cp -R ucm2 $out/share/alsa/ucm2
runHook postInstall
'';
}