calls: init at 0.0.1
This commit is contained in:
parent
0ec60b4f79
commit
d777bfbfae
73
pkgs/applications/networking/calls/default.nix
Normal file
73
pkgs/applications/networking/calls/default.nix
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitLab
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkgconfig
|
||||||
|
, libhandy
|
||||||
|
, modemmanager
|
||||||
|
, gtk3
|
||||||
|
, gsound
|
||||||
|
, libpeas
|
||||||
|
, dbus
|
||||||
|
, xorg
|
||||||
|
, xvfb_run
|
||||||
|
, libxml2
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "calls";
|
||||||
|
version = "0.0.1";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
domain = "source.puri.sm";
|
||||||
|
owner = "Librem5";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0qjgajrq3kbml3zrwwzl23jbj6y62ccjakp667jq57jbs8af77pq";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkgconfig
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
modemmanager
|
||||||
|
libhandy
|
||||||
|
gsound
|
||||||
|
gtk3
|
||||||
|
libhandy
|
||||||
|
libpeas
|
||||||
|
libxml2
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
dbus
|
||||||
|
xvfb_run
|
||||||
|
xorg.xauth
|
||||||
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dgtk_doc=false"
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
NO_AT_BRIDGE=1 \
|
||||||
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
|
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||||
|
meson test --print-errorlogs
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A phone dialer and call handler";
|
||||||
|
homepage = https://source.puri.sm/Librem5/calls;
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ craigem lheckemann ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -780,6 +780,8 @@ in
|
|||||||
|
|
||||||
bunny = callPackage ../tools/package-management/bunny { };
|
bunny = callPackage ../tools/package-management/bunny { };
|
||||||
|
|
||||||
|
calls = callPackage ../applications/networking/calls { };
|
||||||
|
|
||||||
certigo = callPackage ../tools/admin/certigo { };
|
certigo = callPackage ../tools/admin/certigo { };
|
||||||
|
|
||||||
chezmoi = callPackage ../tools/misc/chezmoi { };
|
chezmoi = callPackage ../tools/misc/chezmoi { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user