nixpkgs/pkgs/applications/window-managers/i3/gaps.nix
2018-03-24 16:46:49 -07:00

41 lines
1.3 KiB
Nix

{ fetchurl, stdenv, i3, autoreconfHook }:
i3.overrideDerivation (super : rec {
name = "i3-gaps-${version}";
version = "4.15.0.1";
releaseDate = "2018-03-13";
src = fetchurl {
url = "https://github.com/Airblader/i3/archive/${version}.tar.gz";
sha256 = "16s6bink8yj3zix4vww64b745d5drf2vqjg8vz3pwzrark09hfal";
};
nativeBuildInputs = super.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.
'';
};
}