xrestop: 0.4 -> 0.5; clarify license; adopt
This commit is contained in:
parent
456481aa3d
commit
ccb652c538
|
@ -1,19 +1,22 @@
|
||||||
{ lib, stdenv, fetchurl, xorg, pkg-config, ncurses }:
|
{ lib, stdenv, fetchurl, xorg, pkg-config, ncurses }:
|
||||||
stdenv.mkDerivation {
|
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
pname = "xrestop";
|
pname = "xrestop";
|
||||||
version = "0.4";
|
version = "0.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gentoo/distfiles/xrestop-0.4.tar.gz";
|
url = "https://xorg.freedesktop.org/archive/individual/app/xrestop-${version}.tar.bz2";
|
||||||
sha256 = "0mz27jpij8am1s32i63mdm58znfijcpfhdqq1npbmvgclyagrhk7";
|
sha256 = "06ym32famav8qhdms5k7y5i14nfq89hhvfn5g452jjqzkpcsbl49";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ xorg.libX11 xorg.libXres xorg.libXext ncurses ];
|
buildInputs = [ xorg.libX11 xorg.libXres xorg.libXext ncurses ];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
platforms = lib.platforms.unix;
|
description = "A 'top' like tool for monitoring X Client server resource usage";
|
||||||
license = lib.licenses.gpl2;
|
homepage = "https://gitlab.freedesktop.org/xorg/app/xrestop";
|
||||||
|
maintainers = with maintainers; [ qyliss ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue