2013-06-29 22:39:32 +00:00
|
|
|
{ stdenv, fetchurl, tcl, x11, libX11 }:
|
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";
|
|
|
|
|
2013-06-29 22:39:32 +00:00
|
|
|
buildInputs = [ tcl x11 libX11 ];
|
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";
|
|
|
|
};
|
2013-06-29 22:39:32 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A widget toolkit that provides a library of basic elements for building a GUI in many different programming languages";
|
|
|
|
homepage = http://www.tcl.tk/;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2009-05-03 14:36:26 +00:00
|
|
|
}
|