summary refs log tree commit diff
path: root/pkgs/tools/X11/xrestop/default.nix
blob: 945f21c8cb1086b203b6c4ba7fa34f88cffc5cdf (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, pkgconfig, ncurses }:
stdenv.mkDerivation {

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

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

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ xorg.libX11 xorg.libXres xorg.libXext ncurses ];

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