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}";
|
|
|
|
version = "4.3";
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://i3wm.org/downloads/${name}.tar.bz2";
|
2012-10-01 21:16:02 +02:00
|
|
|
sha256 = "895bf586092535efb2bc723ba599c71a027768115e56052f111fc8bb148db925";
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|