Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 meson,
6 ninja,
7 pkg-config,
8 glib,
9 alsa-lib,
10 libpulseaudio,
11}:
12
13stdenv.mkDerivation rec {
14 pname = "callaudiod";
15 version = "0.1.10";
16
17 src = fetchFromGitLab {
18 domain = "gitlab.com";
19 owner = "mobian1";
20 repo = "callaudiod";
21 rev = version;
22 hash = "sha256-gc66XrrFyhF1TvrDECBfGQc+MiDtqZPxdCn0S/43XQU=";
23 };
24
25 strictDeps = true;
26 nativeBuildInputs = [
27 meson
28 ninja
29 pkg-config
30 glib
31 ];
32
33 buildInputs = [
34 alsa-lib
35 libpulseaudio
36 glib
37 ];
38
39 meta = with lib; {
40 description = "Daemon for dealing with audio routing during phone calls";
41 homepage = "https://gitlab.com/mobian1/callaudiod";
42 license = licenses.gpl3Plus;
43 maintainers = with maintainers; [ pacman99 ];
44 platforms = platforms.linux;
45 };
46}