3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #27455 from TomSmeets/hidlisten

hid-listen: init at 1.01
This commit is contained in:
Benno Fünfstück 2017-07-18 15:30:12 +02:00 committed by GitHub
commit ae28f5cac8
3 changed files with 27 additions and 0 deletions

View file

@ -565,6 +565,7 @@
tohl = "Tomas Hlavaty <tom@logand.com>"; tohl = "Tomas Hlavaty <tom@logand.com>";
tokudan = "Daniel Frank <git@danielfrank.net>"; tokudan = "Daniel Frank <git@danielfrank.net>";
tomberek = "Thomas Bereknyei <tomberek@gmail.com>"; tomberek = "Thomas Bereknyei <tomberek@gmail.com>";
tomsmeets = "Tom Smeets <tom@tsmeets.nl>";
travisbhartwell = "Travis B. Hartwell <nafai@travishartwell.net>"; travisbhartwell = "Travis B. Hartwell <nafai@travishartwell.net>";
trevorj = "Trevor Joynson <nix@trevor.joynson.io>"; trevorj = "Trevor Joynson <nix@trevor.joynson.io>";
trino = "Hubert Mühlhans <muehlhans.hubert@ekodia.de>"; trino = "Hubert Mühlhans <muehlhans.hubert@ekodia.de>";

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.linux;
};
}

View file

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