update mac
This commit is contained in:
30
hosts/mac-nixos/apple-silicon-support/packages/asahi-audio/default.nix
Executable file → Normal file
30
hosts/mac-nixos/apple-silicon-support/packages/asahi-audio/default.nix
Executable file → Normal file
@@ -1,20 +1,21 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, lsp-plugins
|
||||
, bankstown-lv2
|
||||
, triforce-lv2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "asahi-audio";
|
||||
# tracking: https://src.fedoraproject.org/rpms/asahi-audio
|
||||
# note: ensure that the providedConfigFiles list below is current!
|
||||
version = "1.6";
|
||||
version = "3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AsahiLinux";
|
||||
repo = "asahi-audio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-NxTQD742U2FUZNmw7RHuOruMuTRLtAh1HDlMV9EzQkg=";
|
||||
hash = "sha256-p0M1pPxov+wSLT2F4G6y5NZpCXzbjZkzle+75zQ4xxU=";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
@@ -37,16 +38,9 @@ stdenv.mkDerivation rec {
|
||||
mv $out/share/asahi-audio $out
|
||||
'';
|
||||
|
||||
# list of config files installed in $out/share/ and destined for
|
||||
# /etc/, from the `install -pm0644 conf/` lines in the Makefile. note
|
||||
# that the contents of asahi-audio/ stay in $out/ and the config files
|
||||
# are modified to point to them.
|
||||
passthru.providedConfigFiles = [
|
||||
"wireplumber/wireplumber.conf.d/99-asahi.conf"
|
||||
"wireplumber/policy.lua.d/85-asahi-policy.lua"
|
||||
"wireplumber/main.lua.d/85-asahi.lua"
|
||||
"wireplumber/scripts/policy-asahi.lua"
|
||||
"pipewire/pipewire.conf.d/99-asahi.conf"
|
||||
"pipewire/pipewire-pulse.conf.d/99-asahi.conf"
|
||||
passthru.requiredLv2Packages = [
|
||||
lsp-plugins
|
||||
bankstown-lv2
|
||||
triforce-lv2
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user