15 lib.meta.availableOn stdenv.hostPlatform gobject-introspection
16 && stdenv.hostPlatform.emulatorAvailable buildPackages,
17 withDocs ? stdenv.hostPlatform == stdenv.buildPlatform,
18 gobject-introspection,
21 stdenv.mkDerivation rec {
28 ] ++ lib.optionals withDocs [ "man" ];
30 src = fetchFromGitLab {
31 domain = "gitlab.freedesktop.org";
32 owner = "mobile-broadband";
35 hash = "sha256-sHTpu9WeMZroT+1I18ObEHWSzcyj/Relyz8UNe+WawI=";
39 "-Dudevdir=${placeholder "out"}/lib/udev"
40 (lib.mesonBool "introspection" withIntrospection)
41 (lib.mesonBool "man" withDocs)
53 ++ lib.optionals withDocs [
56 ++ lib.optionals withIntrospection [
70 build-aux/mbim-codegen/mbim-codegen
74 homepage = "https://www.freedesktop.org/wiki/Software/libmbim/";
75 description = "Library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol";
76 changelog = "https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/raw/${version}/NEWS";
77 maintainers = teams.freedesktop.members;
78 platforms = platforms.linux;
79 license = licenses.gpl2Plus;