2012-04-30 16:34:57 +02:00
|
|
|
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutil, bison,
|
|
|
|
xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl, flex,
|
|
|
|
libXcursor, coreutils, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-10-01 21:16:02 +02:00
|
|
|
name = "i3-${version}";
|
2012-12-22 17:21:17 +01:00
|
|
|
version = "4.4";
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://i3wm.org/downloads/${name}.tar.bz2";
|
2012-12-22 17:21:17 +01:00
|
|
|
sha256 = "06s8gzcxxh06zp1586kp4bxaj8yj5i9jacwg0nizbmmnx94mg1wr";
|
2012-04-30 16:34:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil bison xcbutilwm
|
|
|
|
libstartup_notification libX11 pcre libev yajl flex libXcursor perl ];
|
|
|
|
|
2012-10-01 21:16:02 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e '/^# Pango/,/^$/d' common.mk
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2012-07-17 14:44:23 +02:00
|
|
|
|
2012-07-12 11:28:15 +02:00
|
|
|
configurePhase = "makeFlags=PREFIX=$out";
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "i3 is a tiling window manager";
|
2012-07-12 11:28:15 +02:00
|
|
|
homepage = "http://i3wm.org";
|
2012-04-30 16:34:57 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|