about summary refs log tree commit diff
path: root/pkgs/tools/misc/usbview/default.nix
blob: 2f417ea86de550be9515e80e32661b6de0c4f881 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, gtk3
}:

stdenv.mkDerivation rec {
  pname = "usbview";
  version = "2.0";

  src = fetchFromGitHub {
    owner = "gregkh";
    repo = "usbview";
    rev = "v${version}";
    sha256 = "1cw5jjpidjn34rxdjslpdlj99k4dqaq1kz6mplv5hgjdddijvn5p";
  };

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];

  buildInputs = [
    gtk3
  ];

  meta = with lib; {
    description = "USB viewer for Linux";
    license = licenses.gpl2Only;
    homepage = "http://www.kroah.com/linux-usb/";
    maintainers = with maintainers; [ shamilton ];
    platforms = platforms.linux;
  };
}