nixpkgs/pkgs/tools/X11/xrestop/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

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