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