diff options
-rw-r--r-- | pkgs/development/libraries/tk/8.5.7.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tk/8.5.7.nix b/pkgs/development/libraries/tk/8.5.7.nix new file mode 100644 index 00000000000..56a757c8c7c --- /dev/null +++ b/pkgs/development/libraries/tk/8.5.7.nix @@ -0,0 +1,17 @@ +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; +} |