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 release-19.03 37 lines 787 B view raw
1{ stdenv, fetchurl, pkgconfig, glib, python3, libgudev, libmbim }: 2 3stdenv.mkDerivation rec { 4 pname = "libqmi"; 5 version = "1.22.2"; 6 7 src = fetchurl { 8 url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz"; 9 sha256 = "09w20dsgr16bgbqw5ds7r6j2s6ihwyalh9zpbjhcn7cvm0afbwgi"; 10 }; 11 12 outputs = [ "out" "dev" "devdoc" ]; 13 14 configureFlags = [ 15 "--with-udev-base-dir=${placeholder ''out''}/lib/udev" 16 ]; 17 18 nativeBuildInputs = [ 19 pkgconfig 20 python3 21 ]; 22 23 buildInputs = [ 24 glib 25 libgudev 26 libmbim 27 ]; 28 29 doCheck = true; 30 31 meta = with stdenv.lib; { 32 homepage = https://www.freedesktop.org/wiki/Software/libqmi/; 33 description = "Modem protocol helper library"; 34 platforms = platforms.linux; 35 license = licenses.gpl2; 36 }; 37}