nixpkgs/pkgs/tools/X11/xrestop/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
735 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, xorg, pkg-config, ncurses }:
2013-08-06 00:56:21 +00:00
stdenv.mkDerivation rec {
pname = "xrestop";
version = "0.5";
2013-08-06 00:56:21 +00:00
src = fetchurl {
url = "https://xorg.freedesktop.org/archive/individual/app/xrestop-${version}.tar.bz2";
sha256 = "06ym32famav8qhdms5k7y5i14nfq89hhvfn5g452jjqzkpcsbl49";
2013-08-06 00:56:21 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ xorg.libX11 xorg.libXres xorg.libXext ncurses ];
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";
};
2013-08-06 00:56:21 +00:00
}