at 22.05-pre 26 lines 664 B view raw
1{ lib, stdenv, fetchFromGitHub 2, cmake 3, libpcap, boost }: 4 5stdenv.mkDerivation rec { 6 pname = "usbtop"; 7 version = "1.0"; 8 9 src = fetchFromGitHub { 10 owner = "aguinet"; 11 repo = pname; 12 rev = "release-${version}"; 13 sha256 = "0qbad0aq6j4jrh90l6a0akk71wdzhyzmy6q8wl138axyj2bp9kss"; 14 }; 15 16 nativeBuildInputs = [ cmake ]; 17 buildInputs = [ libpcap boost ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/aguinet/usbtop"; 21 description = "A top utility that shows an estimated instantaneous bandwidth on USB buses and devices"; 22 maintainers = with maintainers; [ etu ]; 23 license = licenses.bsd3; 24 platforms = platforms.linux; 25 }; 26}