nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 69 lines 1.3 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, pkg-config 5, gobject-introspection 6, gtk-doc 7, docbook-xsl-nons 8, docbook_xml_dtd_43 9, glib 10, python3 11, libgudev 12, libmbim 13, libqrtr-glib 14}: 15 16stdenv.mkDerivation rec { 17 pname = "libqmi"; 18 version = "1.30.2"; 19 20 outputs = [ "out" "dev" "devdoc" ]; 21 22 src = fetchurl { 23 url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz"; 24 sha256 = "sha256-vgHs4OosIZTL6ldEv1qvBsBLpft+x4h6ExFsdtEU/t0="; 25 }; 26 27 nativeBuildInputs = [ 28 pkg-config 29 gobject-introspection 30 python3 31 gtk-doc 32 docbook-xsl-nons 33 docbook_xml_dtd_43 34 ]; 35 36 buildInputs = [ 37 libgudev 38 libmbim 39 ]; 40 41 propagatedBuildInputs = [ 42 glib 43 libqrtr-glib 44 ]; 45 46 configureFlags = [ 47 "--with-udev-base-dir=${placeholder "out"}/lib/udev" 48 "--enable-gtk-doc" 49 "--enable-introspection" 50 ]; 51 52 enableParallelBuilding = true; 53 54 doCheck = true; 55 56 meta = with lib; { 57 homepage = "https://www.freedesktop.org/wiki/Software/libqmi/"; 58 description = "Modem protocol helper library"; 59 maintainers = teams.freedesktop.members; 60 platforms = platforms.linux; 61 license = with licenses; [ 62 # Library 63 lgpl2Plus 64 # Tools 65 gpl2Plus 66 ]; 67 changelog = "https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/blob/${version}/NEWS"; 68 }; 69}