1 { lib, stdenv, fetchurl, tcl, tk, incrtcl }:
3 tcl.mkTclDerivation rec {
8 url = "mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-source/3.4/itk${version}.tar.gz";
9 sha256 = "1iy964jfgsfnc1agk1w6bbm44x18ily8d4wmr7cc9z9f4acn2r6s";
12 buildInputs = [ tk incrtcl ];
13 enableParallelBuilding = true;
17 "--with-itcl=${incrtcl}/lib"
18 "--with-tkinclude=${tk.dev}/include"
23 mv $out/lib/itk${version}/* $out/lib
24 ln -s libitk${version}${stdenv.hostPlatform.extensions.sharedLibrary} \
25 $out/lib/libitk${lib.versions.major version}${stdenv.hostPlatform.extensions.sharedLibrary}
26 rmdir $out/lib/itk${version}
29 outputs = [ "out" "dev" "man" ];
32 homepage = "https://incrtcl.sourceforge.net/";
33 description = "Mega-widget toolkit for incr Tk";
34 license = licenses.tcltk;
35 platforms = platforms.unix;
36 maintainers = with maintainers; [ thoughtpolice ];