2020-12-25 20:04:23 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, glib
|
2021-06-10 04:57:09 +02:00
|
|
|
, alsa-lib
|
2020-12-25 20:04:23 +01:00
|
|
|
, libpulseaudio
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "callaudiod";
|
2022-02-11 01:01:25 +01:00
|
|
|
version = "0.1.3";
|
2020-12-25 20:04:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.com";
|
|
|
|
owner = "mobian1";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-02-11 01:01:25 +01:00
|
|
|
sha256 = "sha256-WZ23jacCsZiNeMJfnYMaGdHXY9OCIBbeU9dWGDroaHE=";
|
2020-12-25 20:04:23 +01:00
|
|
|
};
|
|
|
|
|
2021-10-04 20:11:21 +02:00
|
|
|
strictDeps = true;
|
2020-12-25 20:04:23 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2021-10-04 20:11:21 +02:00
|
|
|
glib
|
2020-12-25 20:04:23 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-06-10 04:57:09 +02:00
|
|
|
alsa-lib
|
2020-12-25 20:04:23 +01:00
|
|
|
libpulseaudio
|
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Daemon for dealing with audio routing during phone calls";
|
|
|
|
homepage = "https://gitlab.com/mobian1/callaudiod";
|
|
|
|
license = licenses.gpl3Plus;
|
2022-02-13 03:04:41 +01:00
|
|
|
maintainers = with maintainers; [ pacman99 tomfitzhenry ];
|
2020-12-25 20:04:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|