2009-11-18 09:39:59 +00:00
|
|
|
{ stdenv, fetchurl, tcl, x11 }:
|
2009-05-03 14:36:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-11-18 09:39:59 +00:00
|
|
|
name = "tk-8.5.7";
|
|
|
|
|
2009-05-03 14:36:26 +00:00
|
|
|
src = fetchurl {
|
2009-11-18 09:39:59 +00:00
|
|
|
url = "mirror://sourceforge/tcl/tk8.5.7-src.tar.gz";
|
2009-05-03 14:36:26 +00:00
|
|
|
sha256 = "0c5gsy3nlwl0wn9swz4k4v7phy7nzjl317gca1jykgf4jz9nwdnr";
|
|
|
|
};
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2009-05-03 14:36:26 +00:00
|
|
|
postInstall = ''
|
|
|
|
ln -s $out/bin/wish* $out/bin/wish
|
|
|
|
'';
|
2009-11-18 09:39:59 +00:00
|
|
|
|
|
|
|
configureFlags = "--with-tcl=${tcl}/lib";
|
|
|
|
|
2009-05-03 14:36:26 +00:00
|
|
|
preConfigure = "cd unix";
|
|
|
|
|
|
|
|
buildInputs = [tcl x11];
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2009-05-03 14:36:26 +00:00
|
|
|
inherit tcl;
|
2010-05-28 10:57:50 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
libPrefix = "tk8.5";
|
|
|
|
};
|
2009-05-03 14:36:26 +00:00
|
|
|
}
|