nixpkgs/pkgs/tools/misc/hid-listen/default.nix

25 lines
671 B
Nix
Raw Normal View History

{ lib, stdenv, fetchzip }:
2017-07-17 19:14:28 +00:00
stdenv.mkDerivation rec {
pname = "hid-listen";
2017-07-17 19:14:28 +00:00
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
2017-07-18 08:28:30 +00:00
mv ./hid_listen $out/bin/hid_listen
2017-07-17 19:14:28 +00:00
'';
meta = with lib; {
2017-07-17 19:14:28 +00:00
description = "A tool thats prints debugging information from usb HID devices";
homepage = "https://www.pjrc.com/teensy/hid_listen.html";
2017-07-17 19:14:28 +00:00
license = licenses.gpl3;
maintainers = with maintainers; [ tomsmeets ];
platforms = platforms.linux;
2017-07-17 19:14:28 +00:00
};
}