Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 53 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 lua, 6 gettext, 7 groff, 8 libICE, 9 libSM, 10 libX11, 11 libXext, 12}: 13 14stdenv.mkDerivation rec { 15 pname = "ion"; 16 version = "3-20090110"; 17 18 src = fetchurl { 19 url = "https://tuomov.iki.fi/software/ion/dl/ion-${version}.tar.gz"; 20 sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns"; 21 }; 22 23 buildInputs = [ 24 libICE 25 libSM 26 libX11 27 libXext 28 lua 29 gettext 30 groff 31 ]; 32 33 buildFlags = [ 34 "LUA_DIR=${lua}" 35 "X11_PREFIX=/no-such-path" 36 "PREFIX=\${out}" 37 ]; 38 39 # Build system is missing depends for autogenerated export headers: 40 # luac -o mod_tiling.lc mod_tiling.lua 41 # main.c:21:10: fatal error: exports.h: No such file or directory 42 enableParallelBuilding = false; 43 44 installFlags = [ "PREFIX=\${out}" ]; 45 46 meta = with lib; { 47 description = "Tiling tabbed window manager designed with keyboard users in mind"; 48 homepage = "https://tuomov.iki.fi/software/ion/"; 49 platforms = with platforms; linux; 50 license = licenses.lgpl21; 51 maintainers = [ ]; 52 }; 53}