gap: ship Makefile.gappkg for future gap package use (#380430)
[NixPkgs.git] / pkgs / by-name / us / usbtop / package.nix
blob0db9ee630354e639b0c1f6f878b4df53fb4ef76b
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6   libpcap,
7   boost,
8 }:
10 stdenv.mkDerivation rec {
11   pname = "usbtop";
12   version = "1.0";
14   src = fetchFromGitHub {
15     owner = "aguinet";
16     repo = pname;
17     rev = "release-${version}";
18     sha256 = "0qbad0aq6j4jrh90l6a0akk71wdzhyzmy6q8wl138axyj2bp9kss";
19   };
21   nativeBuildInputs = [ cmake ];
22   buildInputs = [
23     libpcap
24     boost
25   ];
27   meta = with lib; {
28     homepage = "https://github.com/aguinet/usbtop";
29     description = "Top utility that shows an estimated instantaneous bandwidth on USB buses and devices";
30     mainProgram = "usbtop";
31     maintainers = [ ];
32     license = licenses.bsd3;
33     platforms = platforms.linux;
34   };