2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ion";
|
|
|
|
version = "3-20090110";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://tuomov.iki.fi/software/ion/dl/ion-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns";
|
|
|
|
};
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ xlibsWrapper lua gettext groff ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildFlags = [ "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" "PREFIX=\${out}" ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
# Build system is missing depends for autogenerated export headers:
|
|
|
|
# luac -o mod_tiling.lc mod_tiling.lua
|
|
|
|
# main.c:21:10: fatal error: exports.h: No such file or directory
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
installFlags = [ "PREFIX=\${out}" ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tiling tabbed window manager designed with keyboard users in mind";
|
2022-01-07 04:07:37 +00:00
|
|
|
homepage = "https://modeemi.fi/~tuomov/ion";
|
2021-12-06 16:07:01 +00:00
|
|
|
platforms = with platforms; linux;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|