1{ lib
2, stdenv
3, fetchFromGitHub
4, autoreconfHook
5, pkg-config
6, gtk3
7}:
8
9stdenv.mkDerivation rec {
10 pname = "usbview";
11 version = "2.0";
12
13 src = fetchFromGitHub {
14 owner = "gregkh";
15 repo = "usbview";
16 rev = "v${version}";
17 sha256 = "1cw5jjpidjn34rxdjslpdlj99k4dqaq1kz6mplv5hgjdddijvn5p";
18 };
19
20 nativeBuildInputs = [
21 autoreconfHook
22 pkg-config
23 ];
24
25 buildInputs = [
26 gtk3
27 ];
28
29 meta = with lib; {
30 description = "USB viewer for Linux";
31 license = licenses.gpl2Only;
32 homepage = "http://www.kroah.com/linux-usb/";
33 maintainers = with maintainers; [ shamilton ];
34 platforms = platforms.linux;
35 };
36}