nixpkgs/pkgs/development/libraries/libqmi/default.nix

25 lines
619 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, python }:
stdenv.mkDerivation rec {
2015-03-26 19:39:05 +00:00
name = "libqmi-1.12.6";
src = fetchurl {
url = "http://www.freedesktop.org/software/libqmi/${name}.tar.xz";
2015-03-26 19:39:05 +00:00
sha256 = "101ppan2q1h4pyp2zbn9b8sdwy2c7fk9rp91yykxz3afrvzbymq8";
};
preBuild = ''
patchShebangs .
'';
buildInputs = [ pkgconfig glib python ];
meta = with stdenv.lib; {
2015-03-26 19:39:05 +00:00
homepage = http://www.freedesktop.org/wiki/Software/libqmi/;
description = "Modem protocol helper library";
platforms = platforms.linux;
2015-03-26 19:39:05 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ wkennington ];
};
}