2005-11-22 12:05:18 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-05-03 14:35:56 +00:00
|
|
|
name = "tcl-8.5.7";
|
2009-04-23 13:31:10 +00:00
|
|
|
|
2005-11-22 12:05:18 +00:00
|
|
|
src = fetchurl {
|
2009-05-03 14:35:56 +00:00
|
|
|
url = mirror://sourceforge/tcl/tcl8.5.7-src.tar.gz;
|
|
|
|
sha256 = "1wk67qq12bdbaqsi6cxwj6ra8nc8ph1na9rh808kfk6hm18qvlk7";
|
2008-02-27 15:48:53 +00:00
|
|
|
};
|
2009-04-23 13:31:10 +00:00
|
|
|
|
|
|
|
preConfigure = "cd unix";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
make install-private-headers
|
2009-05-03 14:35:56 +00:00
|
|
|
ln -s $out/bin/tclsh8.5 $out/bin/tclsh
|
2009-04-23 13:31:10 +00:00
|
|
|
'';
|
|
|
|
|
2008-02-27 15:48:53 +00:00
|
|
|
meta = {
|
|
|
|
description = "The Tcl scription language";
|
|
|
|
homepage = http://www.tcl.tk/;
|
2012-09-09 04:30:44 +00:00
|
|
|
license = stdenv.lib.licenses.tcltk;
|
2005-11-22 12:05:18 +00:00
|
|
|
};
|
2012-04-14 21:40:55 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
libdir = "lib/tcl8.5";
|
|
|
|
};
|
2005-11-22 12:05:18 +00:00
|
|
|
}
|