nixpkgs/pkgs/tools/misc/usbview/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
706 B
Nix
Raw Normal View History

2021-03-19 01:24:20 +03:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
2023-12-02 06:42:47 +03:00
, imagemagick
2021-03-19 01:24:20 +03:00
, gtk3
}:
stdenv.mkDerivation rec {
pname = "usbview";
2023-12-02 06:42:47 +03:00
version = "3.1";
2021-03-19 01:24:20 +03:00
src = fetchFromGitHub {
owner = "gregkh";
repo = "usbview";
rev = "v${version}";
2023-12-02 06:42:47 +03:00
hash = "sha256-h+sB83BYsrB2VxwtatPWNiM0WdTCMY289nh+/0o8GOw=";
2021-03-19 01:24:20 +03:00
};
nativeBuildInputs = [
autoreconfHook
pkg-config
2023-12-02 06:42:47 +03:00
imagemagick
2021-03-19 01:24:20 +03:00
];
buildInputs = [
gtk3
];
meta = with lib; {
description = "USB viewer for Linux";
license = licenses.gpl2Only;
homepage = "http://www.kroah.com/linux-usb/";
2023-12-02 08:30:33 +03:00
maintainers = with maintainers; [ shamilton h7x4 ];
2021-03-19 01:24:20 +03:00
platforms = platforms.linux;
2023-12-02 08:26:32 +03:00
mainProgram = "usbview";
2021-03-19 01:24:20 +03:00
};
}