uqmi: init at 2016-12-19
This commit is contained in:
parent
7ec039bb2b
commit
b2a5c40043
27
pkgs/tools/networking/uqmi/default.nix
Normal file
27
pkgs/tools/networking/uqmi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user