summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-11-10 02:38:50 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2016-11-10 02:45:53 +0100
commit2673604708a15d2ec3fa74ee5a965c645c562932 (patch)
tree69abfb3d0fe4a2c079f7ace0ba45f1665451c870 /pkgs/applications/window-managers
parent58bda5e9a3432a777f9fa8e535cad814d996aeed (diff)
downloadnixlib-2673604708a15d2ec3fa74ee5a965c645c562932.tar
nixlib-2673604708a15d2ec3fa74ee5a965c645c562932.tar.gz
nixlib-2673604708a15d2ec3fa74ee5a965c645c562932.tar.bz2
nixlib-2673604708a15d2ec3fa74ee5a965c645c562932.tar.lz
nixlib-2673604708a15d2ec3fa74ee5a965c645c562932.tar.xz
nixlib-2673604708a15d2ec3fa74ee5a965c645c562932.tar.zst
nixlib-2673604708a15d2ec3fa74ee5a965c645c562932.zip
i3: 4.12 -> 4.13
Fixes #20296.
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/i3/default.nix22
1 files changed, 12 insertions, 10 deletions
diff --git a/pkgs/applications/window-managers/i3/default.nix b/pkgs/applications/window-managers/i3/default.nix
index ada6e8e742e2..b6de07bff8ad 100644
--- a/pkgs/applications/window-managers/i3/default.nix
+++ b/pkgs/applications/window-managers/i3/default.nix
@@ -1,25 +1,31 @@
 { fetchurl, stdenv, which, pkgconfig, makeWrapper, libxcb, xcbutilkeysyms
-, xcbutil, xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl
-, xcb-util-cursor, coreutils, perl, pango, perlPackages, libxkbcommon
+, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification, libX11, pcre, libev
+, yajl, xcb-util-cursor, coreutils, perl, pango, perlPackages, libxkbcommon
 , xorgserver, xvfb_run, dmenu, i3status }:
 
 stdenv.mkDerivation rec {
   name = "i3-${version}";
-  version = "4.12";
+  version = "4.13";
 
   src = fetchurl {
     url = "http://i3wm.org/downloads/${name}.tar.bz2";
-    sha256 = "1d3q3lgpjbkmcwzjhp0dfr0jq847silcfg087slcnj95ikh1r7p1";
+    sha256 = "12ngz32swh9n85xy0cz1lq16aqi9ys5hq19v589q9a97wn1k3hcl";
   };
 
+  nativeBuildInputs = [ which pkgconfig makeWrapper ];
+
   buildInputs = [
-    which pkgconfig makeWrapper libxcb xcbutilkeysyms xcbutil xcbutilwm libxkbcommon
+    libxcb xcbutilkeysyms xcbutil xcbutilwm xcbutilxrm libxkbcommon
     libstartup_notification libX11 pcre libev yajl xcb-util-cursor perl pango
     perlPackages.AnyEventI3 perlPackages.X11XCB perlPackages.IPCRun
     perlPackages.ExtUtilsPkgConfig perlPackages.TestMore perlPackages.InlineC
     xorgserver xvfb_run
   ];
 
+  configureFlags = [ "--disable-builddir" ];
+
+  enableParallelBuilding = true;
+
   postPatch = ''
     patchShebangs .
   '';
@@ -45,12 +51,8 @@ stdenv.mkDerivation rec {
     ! grep -q '^not ok' testcases/latest/complete-run.log
   '';
 
-  configurePhase = "makeFlags=PREFIX=$out";
-
   postInstall = ''
     wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB"
-    mkdir -p $out/man/man1
-    cp man/*.1 $out/man/man1
     for program in $out/bin/i3-sensible-*; do
       sed -i 's/which/command -v/' $program
     done
@@ -59,7 +61,7 @@ stdenv.mkDerivation rec {
   meta = with stdenv.lib; {
     description = "A tiling window manager";
     homepage    = "http://i3wm.org";
-    maintainers = with maintainers; [ garbas modulistic ];
+    maintainers = with maintainers; [ garbas modulistic fpletz ];
     license     = licenses.bsd3;
     platforms   = platforms.all;