44 lines
765 B
Nix
44 lines
765 B
Nix
|
{ lib
|
||
|
, stdenv
|
||
|
, fetchFromGitLab
|
||
|
, meson
|
||
|
, ninja
|
||
|
, pkg-config
|
||
|
, glib
|
||
|
, alsaLib
|
||
|
, libpulseaudio
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "callaudiod";
|
||
|
version = "0.0.4";
|
||
|
|
||
|
src = fetchFromGitLab {
|
||
|
domain = "gitlab.com";
|
||
|
owner = "mobian1";
|
||
|
repo = pname;
|
||
|
rev = version;
|
||
|
sha256 = "07k7xp5a9c4d4lq7amaj6cg6b3gsd77x9wvf7nzcf4vpaph4yiyj";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
meson
|
||
|
ninja
|
||
|
pkg-config
|
||
|
];
|
||
|
|
||
|
buildInputs = [
|
||
|
alsaLib
|
||
|
libpulseaudio
|
||
|
glib
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Daemon for dealing with audio routing during phone calls";
|
||
|
homepage = "https://gitlab.com/mobian1/callaudiod";
|
||
|
license = licenses.gpl3Plus;
|
||
|
maintainers = with maintainers; [ pacman99 ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|