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