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