biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / networking / ofono / default.nix
blobc7aa844b7baa35ddef2c4205e769f544f9ef9464
1 { lib, stdenv
2 , fetchzip
3 , autoreconfHook
4 , pkg-config
5 , glib
6 , dbus
7 , ell
8 , systemd
9 , bluez
10 , mobile-broadband-provider-info
13 stdenv.mkDerivation rec {
14   pname = "ofono";
15   version = "2.3";
17   outputs = [ "out" "dev" ];
19   src = fetchzip {
20     url = "https://git.kernel.org/pub/scm/network/ofono/ofono.git/snapshot/ofono-${version}.tar.gz";
21     sha256 = "sha256-rX3ngXoW7YISyytpRPLX/lGmQa5LPtFxeA2XdtU1gV0=";
22   };
24   patches = [
25     ./0001-Search-connectors-in-OFONO_PLUGIN_PATH.patch
26   ];
28   nativeBuildInputs = [
29     autoreconfHook
30     pkg-config
31   ];
33   buildInputs = [
34     glib
35     dbus
36     ell
37     systemd
38     bluez
39     mobile-broadband-provider-info
40   ];
42   configureFlags = [
43     "--with-dbusconfdir=${placeholder "out"}/share"
44     "--with-systemdunitdir=${placeholder "out"}/lib/systemd/system"
45     "--enable-external-ell"
46     "--sysconfdir=/etc"
47   ];
49   installFlags = [
50     "sysconfdir=${placeholder "out"}/etc"
51   ];
53   enableParallelBuilding = true;
54   enableParallelChecking = false;
56   doCheck = true;
58   meta = with lib; {
59     description = "Infrastructure for building mobile telephony (GSM/UMTS) applications";
60     homepage = "https://git.kernel.org/pub/scm/network/ofono/ofono.git";
61     changelog = "https://git.kernel.org/pub/scm/network/ofono/ofono.git/plain/ChangeLog?h=${version}";
62     license = licenses.gpl2Only;
63     maintainers = [ ];
64     platforms = platforms.linux;
65     mainProgram = "ofonod";
66   };