1 { lib, stdenv, fetchFromGitHub }:
7 src = fetchFromGitHub {
10 rev = "8a6bd7084a55a58ade6584af5075c1db16afadd1";
11 sha256 = "0p8pkcgvsx44dd56wgipa8pzi3298qk9h4rl9pwsw1939hjx6h0g";
16 mkdir -p $out/share/man/man8
17 install -m 0755 lsusb $out/bin
18 install -m 0444 man/lsusb.8 $out/share/man/man8
22 homepage = "https://github.com/jlhonora/lsusb";
23 description = "lsusb command for Mac OS X";
24 platforms = lib.platforms.darwin;
25 license = lib.licenses.mit;
26 maintainers = [ lib.maintainers.varunpatro ];