nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 738 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 imagemagick, 8 gtk3, 9}: 10 11stdenv.mkDerivation (finalAttrs: { 12 pname = "usbview"; 13 version = "3.1"; 14 15 src = fetchFromGitHub { 16 owner = "gregkh"; 17 repo = "usbview"; 18 rev = "v${finalAttrs.version}"; 19 hash = "sha256-h+sB83BYsrB2VxwtatPWNiM0WdTCMY289nh+/0o8GOw="; 20 }; 21 22 nativeBuildInputs = [ 23 autoreconfHook 24 pkg-config 25 imagemagick 26 ]; 27 28 buildInputs = [ 29 gtk3 30 ]; 31 32 meta = { 33 description = "USB viewer for Linux"; 34 license = lib.licenses.gpl2Only; 35 homepage = "http://www.kroah.com/linux-usb/"; 36 maintainers = with lib.maintainers; [ 37 h7x4 38 ]; 39 platforms = lib.platforms.linux; 40 mainProgram = "usbview"; 41 }; 42})