2013-06-30 00:39:32 +02:00
|
|
|
{ stdenv, fetchurl, tcl, x11, libX11 }:
|
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";
|
|
|
|
|
2013-06-30 00:39:32 +02:00
|
|
|
buildInputs = [ tcl x11 libX11 ];
|
2009-11-18 10:39:59 +01:00
|
|
|
|
2009-05-03 16:36:26 +02:00
|
|
|
inherit tcl;
|
2010-05-28 12:57:50 +02:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
libPrefix = "tk8.5";
|
|
|
|
};
|
2013-06-30 00:39:32 +02: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/;
|
2013-06-30 01:49:55 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
|
2013-06-30 00:39:32 +02:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2009-05-03 16:36:26 +02:00
|
|
|
}
|