mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
24 lines
729 B
Nix
24 lines
729 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";
|
|
};
|
|
}
|