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