2010-10-14 12:54:13 +01:00
|
|
|
{stdenv, fetchurl, tcl}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "incrtcl";
|
2019-11-28 02:28:51 +00:00
|
|
|
version = "4.2.0";
|
2018-11-01 19:52:49 +00:00
|
|
|
|
2010-10-14 12:54:13 +01:00
|
|
|
src = fetchurl {
|
2019-11-28 02:28:51 +00:00
|
|
|
url = mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-source/3.4/itcl4.2.0.tar.gz;
|
|
|
|
sha256 = "0w28v0zaraxcq1s9pa6cihqqwqvvwfgz275lks7w4gl7hxjxmasw";
|
2010-10-14 12:54:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ tcl ];
|
|
|
|
configureFlags = [ "--with-tcl=${tcl}/lib" ];
|
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace configure --replace "\''${TCL_SRC_DIR}/generic" "${tcl}/include"
|
|
|
|
'';
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="--exec_prefix=$prefix $configureFlags"
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
libPrefix = "itcl3.4";
|
|
|
|
};
|
|
|
|
|
2018-11-01 19:52:49 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-10-14 12:54:13 +01:00
|
|
|
homepage = http://incrtcl.sourceforge.net/;
|
|
|
|
description = "Object Oriented Enhancements for Tcl/Tk";
|
2018-11-01 19:52:49 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.tcltk;
|
2010-10-14 12:54:13 +01:00
|
|
|
};
|
|
|
|
}
|