nixpkgs/pkgs/applications/window-managers/i3/gaps.nix

41 lines
1.3 KiB
Nix
Raw Normal View History

2016-11-09 12:47:20 +00:00
{ fetchurl, stdenv, i3, autoreconfHook }:
2016-05-30 21:32:44 +00:00
i3.overrideDerivation (super : rec {
name = "i3-gaps-${version}";
2017-09-27 11:39:48 +00:00
version = "4.14.1";
releaseDate = "2017-09-24";
2016-05-30 21:32:44 +00:00
src = fetchurl {
url = "https://github.com/Airblader/i3/archive/${version}.tar.gz";
2017-09-27 11:39:48 +00:00
sha256 = "11fnkg4halplcnannfw3ishzwwbxbnjafmkxsim199jhlyjjd8j7";
2016-05-30 21:32:44 +00:00
};
2016-11-09 12:47:20 +00:00
nativeBuildInputs = super.nativeBuildInputs ++ [ autoreconfHook ];
2016-05-30 21:32:44 +00:00
2016-11-09 12:47:20 +00:00
postUnpack = ''
echo -n "${version} (${releaseDate})" > ./i3-${version}/I3_VERSION
2016-05-30 21:32:44 +00:00
'';
# fatal error: GENERATED_config_enums.h: No such file or directory
enableParallelBuilding = false;
2016-05-30 21:32:44 +00:00
}) // {
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.
'';
};
}