diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-08-19 12:37:58 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-08-19 12:42:06 +0000 |
commit | ccb652c538c6b09381ac27e948fff3e5f31b1696 (patch) | |
tree | 0367dbda022c934a7ebc4b0aca7bb7b008e4569a | |
parent | 456481aa3dd633038c86635f3bcf83d339254119 (diff) |
xrestop: 0.4 -> 0.5; clarify license; adopt
-rw-r--r-- | pkgs/tools/X11/xrestop/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/tools/X11/xrestop/default.nix b/pkgs/tools/X11/xrestop/default.nix index e2b87e7380c1e..dd3766160c013 100644 --- a/pkgs/tools/X11/xrestop/default.nix +++ b/pkgs/tools/X11/xrestop/default.nix @@ -1,19 +1,22 @@ { lib, stdenv, fetchurl, xorg, pkg-config, ncurses }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "xrestop"; - version = "0.4"; + version = "0.5"; src = fetchurl { - url = "mirror://gentoo/distfiles/xrestop-0.4.tar.gz"; - sha256 = "0mz27jpij8am1s32i63mdm58znfijcpfhdqq1npbmvgclyagrhk7"; + 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 = { - platforms = lib.platforms.unix; - license = lib.licenses.gpl2; + 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; }; } |