Unverified Commit ca497b3c authored by Luke Granger-Brown's avatar Luke Granger-Brown Committed by GitHub
Browse files

Merge pull request #226397 from delroth/ethq-0.6.2

ethq: init at 0.6.2
parents 3e888624 348d8de2
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ stdenv, lib, fetchFromGitHub, ncurses }:

stdenv.mkDerivation rec {
  pname = "ethq";
  version = "0.6.2";

  src = fetchFromGitHub {
    owner = "isc-projects";
    repo = "ethq";
    rev = "refs/tags/v${builtins.replaceStrings ["."] ["_"] version}";
    hash = "sha256-luvvNdH4kERAMy242kLCqlnGmfPjSjvoHa6J2J7BFi4=";
  };

  buildInputs = [ ncurses ];

  installPhase = ''
    runHook preInstall

    mkdir -p $out/bin
    install -m0755 ethq $out/bin/ethq

    runHook postInstall
  '';

  meta = with lib; {
    description = "Ethernet NIC Queue stats viewer";
    homepage = "https://github.com/isc-projects/ethq";
    license = licenses.mpl20;
    platforms = platforms.linux;
    maintainers = with maintainers; [ delroth ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1502,6 +1502,8 @@ with pkgs;
  elkhound = callPackage ../development/tools/elkhound { };
  ethq = callPackage ../os-specific/linux/ethq { };
  weidu = callPackage ../tools/games/weidu { };
  weylus = callPackage ../applications/graphics/weylus  {