uqmi: init at 2016-12-19

This commit is contained in:
Franz Pletz 2017-10-01 21:33:52 +02:00
parent 7ec039bb2b
commit b2a5c40043
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, lib, fetchgit, cmake, perl, libubox, json_c }:
stdenv.mkDerivation {
name = "uqmi-2016-12-19";
src = fetchgit {
url = "https://git.openwrt.org/project/uqmi.git";
rev = "8ceeab690d8c6f1e3afbd4bcaee7bc2ba3fbe165";
sha256 = "1fw9r36d024iiq6bq2cikaq5pams5pnbc4z6pcmcny2k4l5cdb6m";
};
postPatch = ''
substituteInPlace data/gen-header.pl --replace /usr/bin/env ""
patchShebangs .
'';
nativeBuildInputs = [ cmake perl ];
buildInputs = [ libubox json_c ];
meta = with lib; {
description = "Tiny QMI command line utility";
homepage = "https://git.openwrt.org/?p=project/uqmi.git;a=summary";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ fpletz ];
};
}

View File

@ -4761,6 +4761,8 @@ with pkgs;
upx = callPackage ../tools/compression/upx { };
uqmi = callPackage ../tools/networking/uqmi { };
uriparser = callPackage ../development/libraries/uriparser {};
urlscan = callPackage ../applications/misc/urlscan { };