i3-gaps: init at 4.12

This commit is contained in:
Franz Thoma 2016-05-30 23:32:44 +02:00 committed by obadz
parent 304034518f
commit b60b7eeaab
3 changed files with 47 additions and 0 deletions

View file

@ -131,6 +131,7 @@
falsifian = "James Cook <james.cook@utoronto.ca>";
flosse = "Markus Kohlhase <mail@markus-kohlhase.de>";
fluffynukeit = "Daniel Austin <dan@fluffynukeit.com>";
fmthoma = "Franz Thoma <f.m.thoma@googlemail.com>";
forkk = "Andrew Okin <forkk@forkk.net>";
fornever = "Friedrich von Never <friedrich@fornever.me>";
fpletz = "Franz Pletz <fpletz@fnordicwalking.de>";

View file

@ -0,0 +1,44 @@
{ fetchurl, stdenv, i3 }:
i3.overrideDerivation (super : rec {
name = "i3-gaps-${version}";
version = "4.12";
releaseDate = "2016-03-06";
src = fetchurl {
url = "https://github.com/Airblader/i3/archive/${version}.tar.gz";
sha256 = "1i9l993cak85fcw12zgrb5cpspmjixr3yf8naa4zb8589mg4rb8s";
};
postUnpack = ''
echo -n "${version} (${releaseDate}, branch \\\"gaps-next\\\")" > ./i3-${version}/I3_VERSION
echo -n "${version}" > ./i3-${version}/VERSION
'';
postInstall = ''
wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB"
for program in $out/bin/i3-sensible-*; do
sed -i 's/which/command -v/' $program
done
'';
}) // {
meta = with stdenv.lib; {
description = "A fork of the i3 tiling window manager with some additional features";
homepage = "https://github.com/Airblader/i3";
maintainers = with maintainers; [ fmthoma ];
license = licenses.bsd3;
platforms = platforms.all;
longDescription = ''
Fork of i3wm, a tiling window manager primarily targeted at advanced users
and developers. Based on a tree as data structure, supports tiling,
stacking, and tabbing layouts, handled dynamically, as well as floating
windows. This fork adds a few features such as gaps between windows.
Configured via plain text file. Multi-monitor. UTF-8 clean.
'';
};
}

View file

@ -13026,6 +13026,8 @@ in
xcb-util-cursor = if stdenv.isDarwin then xcb-util-cursor-HEAD else xcb-util-cursor;
};
i3-gaps = callPackage ../applications/window-managers/i3/gaps.nix { };
i3blocks = callPackage ../applications/window-managers/i3/blocks.nix { };
i3cat = callPackage ../tools/misc/i3cat { };