summary refs log tree commit diff
path: root/pkgs/development/libraries/tk
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-05-03 14:36:26 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-05-03 14:36:26 +0000
commit3b3799f4c258e65a4f5b070958ec748c855fdc52 (patch)
tree5106302be2afd0fdc3a25a4617754204e0ee9355 /pkgs/development/libraries/tk
parentef25944cdb714e5ef3afcfafe4672766816298f9 (diff)
downloadnixpkgs-3b3799f4c258e65a4f5b070958ec748c855fdc52.tar
nixpkgs-3b3799f4c258e65a4f5b070958ec748c855fdc52.tar.gz
nixpkgs-3b3799f4c258e65a4f5b070958ec748c855fdc52.tar.bz2
nixpkgs-3b3799f4c258e65a4f5b070958ec748c855fdc52.tar.lz
nixpkgs-3b3799f4c258e65a4f5b070958ec748c855fdc52.tar.xz
nixpkgs-3b3799f4c258e65a4f5b070958ec748c855fdc52.tar.zst
nixpkgs-3b3799f4c258e65a4f5b070958ec748c855fdc52.zip
I forgot a file for the new tk. Here it is.
svn path=/nixpkgs/trunk/; revision=15435
Diffstat (limited to 'pkgs/development/libraries/tk')
-rw-r--r--pkgs/development/libraries/tk/8.5.7.nix17
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;
+}