3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/ofono/default.nix

67 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv
2018-08-12 01:14:34 +01:00
, fetchgit
, autoreconfHook
2021-01-17 03:51:22 +00:00
, pkg-config
2018-08-12 01:14:34 +01:00
, glib
, dbus
, ell
, systemd
, bluez
, mobile-broadband-provider-info
}:
stdenv.mkDerivation rec {
pname = "ofono";
2021-12-08 19:40:08 +00:00
version = "1.33";
2018-08-12 01:14:34 +01:00
outputs = [ "out" "dev" ];
src = fetchgit {
url = "git://git.kernel.org/pub/scm/network/ofono/ofono.git";
rev = version;
2021-12-08 19:40:08 +00:00
sha256 = "sha256-UTFP69yv1epVrqBoRKCRcR2WiKBG01sLTzrsh/Nude4=";
2018-08-12 01:14:34 +01:00
};
patches = [
./0001-Search-connectors-in-OFONO_PLUGIN_PATH.patch
];
2018-08-12 01:14:34 +01:00
nativeBuildInputs = [
autoreconfHook
2021-01-17 03:51:22 +00:00
pkg-config
2018-08-12 01:14:34 +01:00
];
buildInputs = [
glib
dbus
ell
systemd
bluez
mobile-broadband-provider-info
];
configureFlags = [
"--with-dbusconfdir=${placeholder "out"}/share"
"--with-systemdunitdir=${placeholder "out"}/lib/systemd/system"
2018-08-12 01:14:34 +01:00
"--enable-external-ell"
"--sysconfdir=/etc"
2018-08-12 01:14:34 +01:00
];
installFlags = [
"sysconfdir=${placeholder "out"}/etc"
];
enableParallelBuilding = true;
enableParallelChecking = false;
2018-08-12 01:14:34 +01:00
doCheck = true;
meta = with lib; {
2018-08-12 01:14:34 +01:00
description = "Infrastructure for building mobile telephony (GSM/UMTS) applications";
homepage = "https://01.org/ofono";
2018-08-12 01:14:34 +01:00
license = licenses.gpl2;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
};
}