mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
40 lines
706 B
Nix
40 lines
706 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, imagemagick
|
|
, gtk3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "usbview";
|
|
version = "3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gregkh";
|
|
repo = "usbview";
|
|
rev = "v${version}";
|
|
hash = "sha256-h+sB83BYsrB2VxwtatPWNiM0WdTCMY289nh+/0o8GOw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
imagemagick
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "USB viewer for Linux";
|
|
license = licenses.gpl2Only;
|
|
homepage = "http://www.kroah.com/linux-usb/";
|
|
maintainers = with maintainers; [ shamilton h7x4 ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "usbview";
|
|
};
|
|
}
|