summary refs log tree commit diff
path: root/pkgs/applications/window-managers/tabbed/default.nix
blob: 68c72a20e673e120d5eb328a68e02423632af909 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{stdenv, fetchgit, xproto, libX11, enableXft, libXft}:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "tabbed-20150509";

  src = fetchgit {
    url = http://git.suckless.org/tabbed;
    rev = "55dc32b27b73c121cab18009bf087e95ef3d9c18";
    sha256 = "0c5ayf1lrb1xiz5h8dfd4mh05kas42zzi5m5ylrvl67sfz3z4wg1";
  };

  patches = optional enableXft ./xft.patch;

  buildInputs = [ xproto libX11 ] ++ optional enableXft libXft;

  preInstall = ''
    export makeFlags="PREFIX=$out"
  '';

  meta = {
    homepage = http://tools.suckless.org/tabbed;
    description = "Simple generic tabbed fronted to xembed aware applications";
    license = licenses.mit;
    maintainers = with maintainers; [ viric ];
    platforms = platforms.linux;
  };
}