nixpkgs/pkgs/development/libraries/tk/8.5.7.nix
Lluís Batlle i Rossell 3b3799f4c2 I forgot a file for the new tk. Here it is.
svn path=/nixpkgs/trunk/; revision=15435
2009-05-03 14:36:26 +00:00

18 lines
400 B
Nix

args: with args;
stdenv.mkDerivation {
name = "tk-${version}";
src = fetchurl {
url = "mirror://sourceforge/tcl/tk${version}-src.tar.gz";
sha256 = "0c5gsy3nlwl0wn9swz4k4v7phy7nzjl317gca1jykgf4jz9nwdnr";
};
postInstall = ''
ln -s $out/bin/wish* $out/bin/wish
'';
configureFlags="--with-tcl=${tcl}/lib";
preConfigure = "cd unix";
buildInputs = [tcl x11];
inherit tcl;
}