From d53ae3e6a310e6230be09c8061871f3aba630160 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Sat, 22 Jul 2006 09:58:05 +0000 Subject: [PATCH] add tk svn path=/nixpkgs/trunk/; revision=5870 --- pkgs/development/libraries/tk/builder.sh | 9 +++++++++ pkgs/development/libraries/tk/default.nix | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/tk/builder.sh create mode 100644 pkgs/development/libraries/tk/default.nix diff --git a/pkgs/development/libraries/tk/builder.sh b/pkgs/development/libraries/tk/builder.sh new file mode 100644 index 000000000000..2f036ebd66eb --- /dev/null +++ b/pkgs/development/libraries/tk/builder.sh @@ -0,0 +1,9 @@ +source $stdenv/setup + +preConfigure() { + cd unix +} + +preConfigure=preConfigure + +genericBuild diff --git a/pkgs/development/libraries/tk/default.nix b/pkgs/development/libraries/tk/default.nix new file mode 100644 index 000000000000..27d7cdc46d7b --- /dev/null +++ b/pkgs/development/libraries/tk/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, tcl, x11}: + +stdenv.mkDerivation { + name = "tk-8.4.13"; + builder = ./builder.sh; + src = fetchurl { + url = http://heanet.dl.sourceforge.net/sourceforge/tcl/tk8.4.13-src.tar.gz; + md5 = "0a16d4d9398e43cbb85784c85fb807a4"; + }; + buildInputs = [tcl x11]; +}