1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/os-specific/linux/usbtop/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

28 lines
668 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 = "Top utility that shows an estimated instantaneous bandwidth on USB buses and devices";
mainProgram = "usbtop";
maintainers = [ ];
license = licenses.bsd3;
platforms = platforms.linux;
};
}