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