mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
37 lines
645 B
Nix
37 lines
645 B
Nix
{ 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;
|
|
};
|
|
}
|