lol
1{ lib
2, stdenv
3, fetchgit
4, automake
5, autoconf
6, libtool
7, libedit
8, tcl
9, tk
10}:
11
12tcl.mkTclDerivation rec {
13 pname = "eltclsh";
14 version = "1.19";
15
16 src = fetchgit {
17 url = "https://git.openrobots.org/robots/eltclsh.git";
18 rev = "eltclsh-${version}";
19 hash = "sha256-YcJRaNct/cLNsjWk+NLzGiDYOG0jNgKudBczKckQU14=";
20 };
21
22 nativeBuildInputs = [
23 automake
24 autoconf
25 libtool
26 ];
27 buildInputs = [
28 libedit
29 tk
30 ];
31
32 preConfigure = "NOCONFIGURE=1 ./autogen.sh";
33
34 configureFlags = [
35 "--enable-tclshrl"
36 "--enable-wishrl"
37 "--with-tk=${tk}/lib"
38 "--with-includes=${libedit.dev}/include/readline"
39 "--with-libtool=${libtool}"
40 ];
41
42 meta = with lib; {
43 description = "Interactive shell for the TCL programming language based on editline";
44 homepage = "https://homepages.laas.fr/mallet/soft/shell/eltclsh";
45 license = licenses.bsd3;
46 maintainers = with maintainers; [ iwanb ];
47 platforms = platforms.all;
48 };
49}