mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
27 lines
660 B
Nix
27 lines
660 B
Nix
{ 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; [ ];
|
|
license = licenses.bsd3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|