Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
760 B
Nix
36 lines
760 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
xorg,
|
|
pkg-config,
|
|
ncurses,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xrestop";
|
|
version = "0.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://xorg.freedesktop.org/archive/individual/app/xrestop-${version}.tar.xz";
|
|
hash = "sha256-Li7BEcSyeYtdwtwrPsevT2smGUbpA7jhTbBGgx0gOyk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
xorg.libX11
|
|
xorg.libXres
|
|
xorg.libXext
|
|
ncurses
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "'top' like tool for monitoring X Client server resource usage";
|
|
homepage = "https://gitlab.freedesktop.org/xorg/app/xrestop";
|
|
maintainers = with maintainers; [ qyliss ];
|
|
platforms = platforms.unix;
|
|
license = licenses.gpl2Plus;
|
|
mainProgram = "xrestop";
|
|
};
|
|
}
|