2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, glib
|
2021-06-28 23:13:55 +00:00
|
|
|
, alsa-lib
|
2021-02-05 17:12:51 +00:00
|
|
|
, libpulseaudio
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "callaudiod";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.1.9";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.com";
|
|
|
|
owner = "mobian1";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-OuWn1DA+4LmN1KwouiqW3kn6CMg8jhm0FiyAgMSi1GI=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
strictDeps = true;
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2021-12-06 16:07:01 +00:00
|
|
|
glib
|
2021-02-05 17:12:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
alsa-lib
|
2021-02-05 17:12:51 +00: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-20 05:27:41 +00:00
|
|
|
maintainers = with maintainers; [ pacman99 tomfitzhenry ];
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|