787f322540
... after auto-removing some kinds of files by default. In some cases I let them be removed and in others I let them be put into $docdev. That was more due to general indecisiveness on this question than any reasons in the particular cases.
27 lines
658 B
Nix
27 lines
658 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libqmi-1.12.6";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.freedesktop.org/software/libqmi/${name}.tar.xz";
|
|
sha256 = "101ppan2q1h4pyp2zbn9b8sdwy2c7fk9rp91yykxz3afrvzbymq8";
|
|
};
|
|
|
|
outputs = [ "dev" "out" "docdev" ];
|
|
|
|
preBuild = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
buildInputs = [ pkgconfig glib python ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.freedesktop.org/wiki/Software/libqmi/;
|
|
description = "Modem protocol helper library";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
};
|
|
}
|