mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
34 lines
740 B
Nix
34 lines
740 B
Nix
{ stdenv, lib, fetchFromGitHub, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ethq";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "isc-projects";
|
|
repo = "ethq";
|
|
rev = "refs/tags/v${builtins.replaceStrings ["."] ["_"] version}";
|
|
hash = "sha256-ye5ep9EM9Sq/NqNZHENPmFZefVBx1BGrPm3YEG1NcSc=";
|
|
};
|
|
|
|
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";
|
|
mainProgram = "ethq";
|
|
homepage = "https://github.com/isc-projects/ethq";
|
|
license = licenses.mpl20;
|
|
platforms = platforms.linux;
|
|
maintainers = [ ];
|
|
};
|
|
}
|