2013-03-17 14:45:37 +01:00
|
|
|
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutil,
|
|
|
|
xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl,
|
2013-03-20 00:13:44 +01:00
|
|
|
libXcursor, coreutils, perl, pango }:
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-10-01 21:16:02 +02:00
|
|
|
name = "i3-${version}";
|
2013-03-20 00:14:22 +01:00
|
|
|
version = "4.5.1";
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://i3wm.org/downloads/${name}.tar.bz2";
|
2013-03-20 00:14:22 +01:00
|
|
|
sha256 = "bae55f1c7c4a21d71aae182e4fab6038ba65ba4be5d1ceff9e269f4f74b823f2";
|
2012-04-30 16:34:57 +02:00
|
|
|
};
|
|
|
|
|
2013-03-17 14:45:37 +01:00
|
|
|
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil xcbutilwm
|
2013-03-20 00:13:44 +01:00
|
|
|
libstartup_notification libX11 pcre libev yajl libXcursor perl pango ];
|
2012-04-30 16:34:57 +02:00
|
|
|
|
2012-10-01 21:16:02 +02:00
|
|
|
patchPhase = ''
|
|
|
|
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;
|
2013-03-29 13:27:04 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2012-04-30 16:34:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|