mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
2561f4da88
https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?h=1.31&id=0db662bd6ba4070838bf143df5ee24c949a8c0df
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{ stdenv
|
|
, fetchgit
|
|
, autoreconfHook
|
|
, pkgconfig
|
|
, glib
|
|
, dbus
|
|
, ell
|
|
, systemd
|
|
, bluez
|
|
, mobile-broadband-provider-info
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ofono";
|
|
version = "1.31";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchgit {
|
|
url = "git://git.kernel.org/pub/scm/network/ofono/ofono.git";
|
|
rev = version;
|
|
sha256 = "033y3vggjxn1c7mw75j452idp7arrdv51axs727f7l3c5lnxqdjy";
|
|
};
|
|
|
|
patches = [
|
|
./0001-Search-connectors-in-OFONO_PLUGIN_PATH.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkgconfig
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
dbus
|
|
ell
|
|
systemd
|
|
bluez
|
|
mobile-broadband-provider-info
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-dbusconfdir=${placeholder "out"}/share"
|
|
"--with-systemdunitdir=${placeholder "out"}/lib/systemd/system"
|
|
"--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;
|
|
};
|
|
}
|