summary refs log blame commit diff
path: root/pkgs/tools/X11/xrestop/default.nix
blob: dd3766160c0138d80424717896b257b3ffd6a392 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
 
                         
                    
                  

                  

                                                                                           

    
                                     
                                                                  
 





                                                                                    
    
 
{ lib, stdenv, fetchurl, xorg, pkg-config, ncurses }:

stdenv.mkDerivation rec {
  pname = "xrestop";
  version = "0.5";

  src = fetchurl {
    url = "https://xorg.freedesktop.org/archive/individual/app/xrestop-${version}.tar.bz2";
    sha256 = "06ym32famav8qhdms5k7y5i14nfq89hhvfn5g452jjqzkpcsbl49";
  };

  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;
  };
}