2020-04-24 23:36:52 +00:00
|
|
|
{ fetchurl, stdenv, i3, autoreconfHook }:
|
|
|
|
|
|
|
|
i3.overrideAttrs (oldAttrs : rec {
|
|
|
|
|
|
|
|
name = "i3-gaps-${version}";
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "4.18.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
releaseDate = "2019-01-27";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Airblader/i3/archive/${version}.tar.gz";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha256 = "07gk5m90v0ih7c18vcwx7p7innsccd09j2vkr99a33wk71xrww1z";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ autoreconfHook ];
|
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
echo -n "${version} (${releaseDate})" > ./i3-${version}/I3_VERSION
|
|
|
|
'';
|
|
|
|
|
|
|
|
# fatal error: GENERATED_config_enums.h: No such file or directory
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
})
|