blob: 7959c1c13f8f67b96c5ec78f943036194d926194 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
lib,
stdenv,
fetchFromGitLab,
meson,
ninja,
systemd,
alsa-lib,
dbus,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "q6voiced";
version = "0.3.1";
strictDeps = true;
__structuredAttrs = true;
src = fetchFromGitLab {
domain = "gitlab.postmarketos.org";
owner = "postmarketOS";
repo = "q6voiced";
tag = finalAttrs.version;
hash = "sha256-VvhDaejcvCERU8oDgsjl3IuV5a8RjkA+pH8PJRHJWJs=";
};
mesonFlags = [
# point to /etc/q6voiced/q6voiced.conf at runtime
"--datadir=/etc"
];
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
systemd
dbus
alsa-lib
];
meta = {
description = "Userspace daemon for the QDSP6 voice call audio driver";
homepage = "https://gitlab.postmarketos.org/postmarketOS/q6voiced";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ matthewcroughan ];
mainProgram = "q6voiced";
platforms = lib.platforms.linux;
};
})
|