tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ethq: init at 0.6.2
Pierre Bourdon
2 years ago
348d8de2
f2654e37
+34
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
ethq
default.nix
top-level
all-packages.nix
+32
pkgs/os-specific/linux/ethq/default.nix
···
1
1
+
{ stdenv, lib, fetchFromGitHub, ncurses }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "ethq";
5
5
+
version = "0.6.2";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "isc-projects";
9
9
+
repo = "ethq";
10
10
+
rev = "refs/tags/v${builtins.replaceStrings ["."] ["_"] version}";
11
11
+
hash = "sha256-luvvNdH4kERAMy242kLCqlnGmfPjSjvoHa6J2J7BFi4=";
12
12
+
};
13
13
+
14
14
+
buildInputs = [ ncurses ];
15
15
+
16
16
+
installPhase = ''
17
17
+
runHook preInstall
18
18
+
19
19
+
mkdir -p $out/bin
20
20
+
install -m0755 ethq $out/bin/ethq
21
21
+
22
22
+
runHook postInstall
23
23
+
'';
24
24
+
25
25
+
meta = with lib; {
26
26
+
description = "Ethernet NIC Queue stats viewer";
27
27
+
homepage = "https://github.com/isc-projects/ethq";
28
28
+
license = licenses.mpl20;
29
29
+
platforms = platforms.linux;
30
30
+
maintainers = with maintainers; [ delroth ];
31
31
+
};
32
32
+
}
+2
pkgs/top-level/all-packages.nix
···
1503
1503
1504
1504
elkhound = callPackage ../development/tools/elkhound { };
1505
1505
1506
1506
+
ethq = callPackage ../os-specific/linux/ethq { };
1507
1507
+
1506
1508
weidu = callPackage ../tools/games/weidu { };
1507
1509
1508
1510
weylus = callPackage ../applications/graphics/weylus {