mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
3793f44459
The .tar.gz from the github's archive does not contain man pages, only asciidoc versions of them. Because i3-gaps uses the same build process as i3, the man pages are not generated and the asciidoc versions are put in share/man/man1. This annoys mandb: mandb: warning: …/share/man/man1/i3.man.gz: ignoring bogus filename This commit changes the downloaded file to use github's release instead. The resulting .tar.bz2 file is much closer to the one downloaded for i3 which means the build process can still be the same and we get proper man pages at the end. Because of the previous change, the I3_VERSION file is now part of the downloaded source which means Nix doesn't have to create it anymore.
34 lines
1.2 KiB
Nix
34 lines
1.2 KiB
Nix
{ fetchurl, stdenv, i3, autoreconfHook }:
|
|
|
|
i3.overrideAttrs (oldAttrs : rec {
|
|
|
|
name = "i3-gaps-${version}";
|
|
version = "4.18.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Airblader/i3/releases/download/${version}/i3-${version}.tar.bz2";
|
|
sha256 = "1cxwsrdzp18r5hj0ymg9fbzp1mhkj4m9h6i0b9cdg79cjbacba9k";
|
|
};
|
|
|
|
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ autoreconfHook ];
|
|
|
|
# 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.
|
|
'';
|
|
};
|
|
})
|