2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchurl, xorg, pkg-config, ncurses }:
|
2013-08-06 00:56:21 +00:00
|
|
|
|
2021-08-19 12:37:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xrestop";
|
2021-08-19 12:37:58 +00:00
|
|
|
version = "0.5";
|
2013-08-06 00:56:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-19 12:37:58 +00:00
|
|
|
url = "https://xorg.freedesktop.org/archive/individual/app/xrestop-${version}.tar.bz2";
|
|
|
|
sha256 = "06ym32famav8qhdms5k7y5i14nfq89hhvfn5g452jjqzkpcsbl49";
|
2013-08-06 00:56:21 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ xorg.libX11 xorg.libXres xorg.libXext ncurses ];
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2021-08-19 12:37:58 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A '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;
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "xrestop";
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2013-08-06 00:56:21 +00:00
|
|
|
}
|