summary refs log tree commit diff
path: root/pkgs/tools/X11/xrestop/default.nix
blob: e2b87e7380c1ebe1bb7426885fac84745ee528e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, stdenv, fetchurl, xorg, pkg-config, ncurses }:
stdenv.mkDerivation {

  pname = "xrestop";
  version = "0.4";

  src = fetchurl {
    url = "mirror://gentoo/distfiles/xrestop-0.4.tar.gz";
    sha256 = "0mz27jpij8am1s32i63mdm58znfijcpfhdqq1npbmvgclyagrhk7";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ xorg.libX11 xorg.libXres xorg.libXext ncurses ];

  meta = {
    platforms = lib.platforms.unix;
    license = lib.licenses.gpl2;
  };
}