1 { lib, stdenv, fetchgit, qt4, ecl, xorgserver, xkbcomp, xkeyboard_config }:
3 stdenv.mkDerivation rec {
7 rev = "9097bf98446ee33c07bb155d800395775ce0d9b2";
8 url = "https://gitlab.com/eql/eql.git";
9 sha256 = "17h23qr7fyr9hvjgiq0yhacmjs43x06vh8978aq42ymcgipxdcww";
12 buildInputs = [ ecl qt4 xorgserver xkbcomp xkeyboard_config ];
14 NIX_CFLAGS_COMPILE = "-fPIC";
17 sed -re 's@[(]in-home "gui/.command-history"[)]@(concatenate '"'"'string (ext:getenv "HOME") "/.eql-gui-command-history")@' -i gui/gui.lisp
19 # cl_def_c_function was renamed to ecl_def_c_function in ECL 20.4.24.
20 find . -type f -exec sed -e 's/\scl_def_c_function(/ ecl_def_c_function(/' -i {} \;
25 ecl -shell make-eql-lib.lisp
39 mkdir -p $out/bin $out/lib/eql/ $out/include $out/include/gen $out/lib
40 cp -r . $out/lib/eql/build-dir
41 ln -s $out/lib/eql/build-dir/eql $out/bin
42 ln -s $out/lib/eql/build-dir/src/*.h $out/include
43 ln -s $out/lib/eql/build-dir/src/gen/*.h $out/include/gen
44 ln -s $out/lib/eql/build-dir/libeql*.so* $out/lib
48 description = "Embedded Qt Lisp (ECL+Qt)";
49 maintainers = with maintainers; [ raskin ];
50 platforms = platforms.linux;
51 license = licenses.mit;
56 downloadPage = "http://password-taxi.at/EQL";