usbtop: init at 1.0

Changed files
+28
pkgs
os-specific
linux
usbtop
top-level
+26
pkgs/os-specific/linux/usbtop/default.nix
···
···
+
{ 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 stdenv.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;
+
};
+
}
+2
pkgs/top-level/all-packages.nix
···
withGui = false;
};
usbutils = callPackage ../os-specific/linux/usbutils { };
usermount = callPackage ../os-specific/linux/usermount { };
···
withGui = false;
};
+
usbtop = callPackage ../os-specific/linux/usbtop { };
+
usbutils = callPackage ../os-specific/linux/usbutils { };
usermount = callPackage ../os-specific/linux/usermount { };