2013-03-17 13:45:37 +00:00
|
|
|
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutil,
|
|
|
|
xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl,
|
2013-03-19 23:13:44 +00:00
|
|
|
libXcursor, coreutils, perl, pango }:
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-10-01 20:16:02 +01:00
|
|
|
name = "i3-${version}";
|
2013-03-19 23:14:22 +00:00
|
|
|
version = "4.5.1";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://i3wm.org/downloads/${name}.tar.bz2";
|
2013-03-19 23:14:22 +00:00
|
|
|
sha256 = "bae55f1c7c4a21d71aae182e4fab6038ba65ba4be5d1ceff9e269f4f74b823f2";
|
2012-04-30 15:34:57 +01:00
|
|
|
};
|
|
|
|
|
2013-03-17 13:45:37 +00:00
|
|
|
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil xcbutilwm
|
2013-03-19 23:13:44 +00:00
|
|
|
libstartup_notification libX11 pcre libev yajl libXcursor perl pango ];
|
2012-04-30 15:34:57 +01:00
|
|
|
|
2012-10-01 20:16:02 +01:00
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2012-07-17 13:44:23 +01:00
|
|
|
|
2012-07-12 10:28:15 +01:00
|
|
|
configurePhase = "makeFlags=PREFIX=$out";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "i3 is a tiling window manager";
|
2012-07-12 10:28:15 +01:00
|
|
|
homepage = "http://i3wm.org";
|
2012-04-30 15:34:57 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2013-03-29 12:27:04 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2012-04-30 15:34:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|