pine64-alsa-ucm: init
This commit is contained in:
26
pkgs/by-name/pine64-alsa-ucm/package.nix
Normal file
26
pkgs/by-name/pine64-alsa-ucm/package.nix
Normal 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
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user