2018-08-12 02:14:34 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchgit
|
|
|
|
, autoreconfHook
|
|
|
|
, pkgconfig
|
|
|
|
, glib
|
|
|
|
, dbus
|
|
|
|
, ell
|
|
|
|
, systemd
|
|
|
|
, bluez
|
|
|
|
, mobile-broadband-provider-info
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ofono";
|
2019-11-26 00:31:35 +01:00
|
|
|
version = "1.31";
|
2018-08-12 02:14:34 +02:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.kernel.org/pub/scm/network/ofono/ofono.git";
|
|
|
|
rev = version;
|
2019-11-26 00:31:35 +01:00
|
|
|
sha256 = "033y3vggjxn1c7mw75j452idp7arrdv51axs727f7l3c5lnxqdjy";
|
2018-08-12 02:14:34 +02:00
|
|
|
};
|
|
|
|
|
2019-08-23 18:54:26 +02:00
|
|
|
patches = [
|
|
|
|
./0001-Search-connectors-in-OFONO_PLUGIN_PATH.patch
|
|
|
|
];
|
|
|
|
|
2018-08-12 02:14:34 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
dbus
|
|
|
|
ell
|
|
|
|
systemd
|
|
|
|
bluez
|
|
|
|
mobile-broadband-provider-info
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
2019-09-03 18:38:57 +02:00
|
|
|
"--with-dbusconfdir=${placeholder "out"}/share"
|
|
|
|
"--with-systemdunitdir=${placeholder "out"}/lib/systemd/system"
|
2018-08-12 02:14:34 +02:00
|
|
|
"--enable-external-ell"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Infrastructure for building mobile telephony (GSM/UMTS) applications";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://01.org/ofono";
|
2018-08-12 02:14:34 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|