summary refs log tree commit diff
path: root/pkgs/os-specific/linux/chromium-os/libqmi/default.nix
blob: 7328642d0b44e59a5504ec36c637e34554a29a04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ libqmi, lib, fetchFromGitiles, upstreamInfo
, autoreconfHook, autoconf-archive, gtk-doc, docbook-xsl-nons
}:

libqmi.overrideAttrs (
  { configureFlags ? [], nativeBuildInputs ? [], passthru ? {}, meta ? {}, ... }:
  {
    pname = "libqmi-unstable";
    version = "2019-12-16";

    src = fetchFromGitiles upstreamInfo.components."src/third_party/libqmi";

    nativeBuildInputs = nativeBuildInputs ++
      [ autoreconfHook autoconf-archive gtk-doc docbook-xsl-nons ];

    # ModemManager tests fail with QRTR in Chromium OS 91.
    # Will hopefully be fixed in CrOS 92.
    configureFlags = configureFlags ++ [ "--disable-qrtr" ];

    passthru = passthru // {
      updateScript = ../update.py;
    };

    meta = with lib; meta // {
      maintainers = with maintainers; [ qyliss ];
    };
  }
)