Files
nixpkgs/pkgs/by-name/as/asahi-audio/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

79 lines
2.3 KiB
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
lsp-plugins,
bankstown-lv2,
triforce-lv2,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "asahi-audio";
version = "3.4";
src = fetchFromGitHub {
owner = "AsahiLinux";
repo = "asahi-audio";
tag = "v${finalAttrs.version}";
hash = "sha256-7AuPkR/M1a4zB9+dJuOuv9uTp+kIqPlxVOXipsyGGz8=";
};
makeFlags = [
"DESTDIR=$(out)"
"DATA_DIR=share"
];
fixupPhase = ''
runHook preFixup
for config_file in $(find $out -type f -not -name '*.wav') ; do
substituteInPlace "$config_file" --replace-warn "/usr" "$out"
done
runHook postFixup
'';
passthru = {
updateScript = nix-update-script { };
requiredLv2Packages = [
lsp-plugins
bankstown-lv2
triforce-lv2
];
};
meta = {
description = "Linux userspace audio configuration for Apple Silicon Macs";
longDescription = ''
This package contains DSP configuration files for Apple Silicon
Macs supported by the Asahi Linux project. The goal is to make
the Asahi Linux audio experience better than macOS, and in doing
so demonstrate that desktop Linux audio can be made fit for
purpose with a little bit of effort.
Currently Supported Devices (speakers)
- MacBook Air (13-inch, M1, 2020)
- MacBook Air (13-inch, M2, 2022)
- MacBook Air (15-inch, M2, 2023)
- MacBook Pro (13-inch, M1/M2, 2020/2022)
- MacBook Pro (14-inch, M1/M2 Pro/Max, 2021/2023)
- MacBook Pro (16-inch, M1/M2 Pro/Max, 2021/2023)
- Mac mini (M1/M2/M2 Pro, 2020/2023)
- Mac Studio (M1/M2 Max/Ultra, 2022/2023)
Currently Supported Devices (microphones)
- MacBook Air (13-inch, M1, 2020)
- MacBook Air (13-inch, M2, 2022)
- MacBook Air (15-inch, M2, 2023)
- MacBook Pro (13-inch, M1/M2, 2020/2022)
- MacBook Pro (14-inch, M1/M2 Pro/Max, 2021/2023)
- MacBook Pro (16-inch, M1/M2 Pro/Max, 2021/2023)
'';
homepage = "https://github.com/AsahiLinux/asahi-audio";
changelog = "https://github.com/AsahiLinux/asahi-audio/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ normalcea ];
platforms = [ "aarch64-linux" ];
};
})