about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/window-managers/ion-3/default.nix
blob: 30328cd7719a3877e3524dbac1cb9184100150ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }:

stdenv.mkDerivation rec {
  pname = "ion";
  version = "3-20090110";

  src = fetchurl {
    url = "https://tuomov.iki.fi/software/ion/dl/ion-${version}.tar.gz";
    sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns";
  };

  buildInputs = [ xlibsWrapper lua gettext groff ];

  buildFlags = [ "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" "PREFIX=\${out}" ];

  # 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;

  installFlags = [ "PREFIX=\${out}" ];

  meta = with lib; {
    description = "Tiling tabbed window manager designed with keyboard users in mind";
    homepage = "https://modeemi.fi/~tuomov/ion";
    platforms = with platforms; linux;
    license = licenses.lgpl21;
    maintainers = with maintainers; [ ];
  };
}