hid-listen: init at 1.01

This commit is contained in:
Tom Smeets 2017-07-17 21:14:28 +02:00
parent bcbcbd09d3
commit ff41ec7d80
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
name = "hid-listen";
version = "1.01";
src = fetchzip {
name = "hid_listen_${version}";
url = "https://www.pjrc.com/teensy/hid_listen_${version}.zip";
sha256 = "0sd4dvi39fl4vy880mg531ryks5zglfz5mdyyqr7x6qv056ffx9w";
};
installPhase = ''
mkdir -p $out/bin
mv ./hid_listen $out/bin/$hid_listen
'';
meta = with stdenv.lib; {
description = "A tool thats prints debugging information from usb HID devices";
homepage = https://www.pjrc.com/teensy/hid_listen.html;
license = licenses.gpl3;
maintainers = with maintainers; [ tomsmeets ];
platforms = platforms.all;
};
}

View File

@ -1033,6 +1033,8 @@ with pkgs;
hexio = callPackage ../development/tools/hexio { };
hid-listen = callPackage ../tools/misc/hid-listen { };
hostsblock = callPackage ../tools/misc/hostsblock { };
hr = callPackage ../applications/misc/hr { };