My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/os-specific/linux/usbtop/default.nix

26 lines
664 B

{ lib, stdenv, fetchFromGitHub
, cmake
, libpcap, boost }:
stdenv.mkDerivation rec {
pname = "usbtop";
version = "1.0";
src = fetchFromGitHub {
owner = "aguinet";
repo = pname;
rev = "release-${version}";
sha256 = "0qbad0aq6j4jrh90l6a0akk71wdzhyzmy6q8wl138axyj2bp9kss";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libpcap boost ];
meta = with lib; {
homepage = "https://github.com/aguinet/usbtop";
description = "A top utility that shows an estimated instantaneous bandwidth on USB buses and devices";
maintainers = with maintainers; [ etu ];
license = licenses.bsd3;
platforms = platforms.linux;
};
}