tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
asahi-audio: init at 3.4
Jasi
7 months ago
b88bfbd8
a1ca41f9
+78
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
as
asahi-audio
package.nix
+78
pkgs/by-name/as/asahi-audio/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenvNoCC,
4
4
+
fetchFromGitHub,
5
5
+
lsp-plugins,
6
6
+
bankstown-lv2,
7
7
+
triforce-lv2,
8
8
+
nix-update-script,
9
9
+
}:
10
10
+
stdenvNoCC.mkDerivation (finalAttrs: {
11
11
+
pname = "asahi-audio";
12
12
+
version = "3.4";
13
13
+
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "AsahiLinux";
16
16
+
repo = "asahi-audio";
17
17
+
tag = "v${finalAttrs.version}";
18
18
+
hash = "sha256-7AuPkR/M1a4zB9+dJuOuv9uTp+kIqPlxVOXipsyGGz8=";
19
19
+
};
20
20
+
21
21
+
makeFlags = [
22
22
+
"DESTDIR=$(out)"
23
23
+
"DATA_DIR=share"
24
24
+
];
25
25
+
26
26
+
fixupPhase = ''
27
27
+
runHook preFixup
28
28
+
29
29
+
for config_file in $(find $out -type f -not -name '*.wav') ; do
30
30
+
substituteInPlace "$config_file" --replace-warn "/usr" "$out"
31
31
+
done
32
32
+
33
33
+
runHook postFixup
34
34
+
'';
35
35
+
36
36
+
passthru = {
37
37
+
updateScript = nix-update-script { };
38
38
+
requiredLv2Packages = [
39
39
+
lsp-plugins
40
40
+
bankstown-lv2
41
41
+
triforce-lv2
42
42
+
];
43
43
+
};
44
44
+
45
45
+
meta = {
46
46
+
description = "Linux userspace audio configuration for Apple Silicon Macs";
47
47
+
longDescription = ''
48
48
+
This package contains DSP configuration files for Apple Silicon
49
49
+
Macs supported by the Asahi Linux project. The goal is to make
50
50
+
the Asahi Linux audio experience better than macOS, and in doing
51
51
+
so demonstrate that desktop Linux audio can be made fit for
52
52
+
purpose with a little bit of effort.
53
53
+
54
54
+
Currently Supported Devices (speakers)
55
55
+
- MacBook Air (13-inch, M1, 2020)
56
56
+
- MacBook Air (13-inch, M2, 2022)
57
57
+
- MacBook Air (15-inch, M2, 2023)
58
58
+
- MacBook Pro (13-inch, M1/M2, 2020/2022)
59
59
+
- MacBook Pro (14-inch, M1/M2 Pro/Max, 2021/2023)
60
60
+
- MacBook Pro (16-inch, M1/M2 Pro/Max, 2021/2023)
61
61
+
- Mac mini (M1/M2/M2 Pro, 2020/2023)
62
62
+
- Mac Studio (M1/M2 Max/Ultra, 2022/2023)
63
63
+
64
64
+
Currently Supported Devices (microphones)
65
65
+
- MacBook Air (13-inch, M1, 2020)
66
66
+
- MacBook Air (13-inch, M2, 2022)
67
67
+
- MacBook Air (15-inch, M2, 2023)
68
68
+
- MacBook Pro (13-inch, M1/M2, 2020/2022)
69
69
+
- MacBook Pro (14-inch, M1/M2 Pro/Max, 2021/2023)
70
70
+
- MacBook Pro (16-inch, M1/M2 Pro/Max, 2021/2023)
71
71
+
'';
72
72
+
homepage = "https://github.com/AsahiLinux/asahi-audio";
73
73
+
changelog = "https://github.com/AsahiLinux/asahi-audio/releases/tag/v${finalAttrs.version}";
74
74
+
license = lib.licenses.mit;
75
75
+
maintainers = with lib.maintainers; [ normalcea ];
76
76
+
platforms = [ "aarch64-linux" ];
77
77
+
};
78
78
+
})