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