* Fix various broken URLs / mirrors.
* Updated tcpdump, ImageMagick, lsof. svn path=/nixpkgs/trunk/; revision=19847
This commit is contained in:
22
pkgs/development/libraries/tk/default.nix
Normal file
22
pkgs/development/libraries/tk/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, tcl, x11 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tk-8.5.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/tcl/tk8.5.7-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;
|
||||
}
|
||||
Reference in New Issue
Block a user