diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2006-07-22 09:58:05 +0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2006-07-22 09:58:05 +0000 |
commit | d53ae3e6a310e6230be09c8061871f3aba630160 (patch) | |
tree | 719d4bd9e93b57297df52250e48f3a8f3d1b625f /pkgs/development/libraries/tk | |
parent | 3563604395b02de38dc007337b603fb263439f12 (diff) |
add tk
svn path=/nixpkgs/trunk/; revision=5870
Diffstat (limited to 'pkgs/development/libraries/tk')
-rw-r--r-- | pkgs/development/libraries/tk/builder.sh | 9 | ||||
-rw-r--r-- | pkgs/development/libraries/tk/default.nix | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tk/builder.sh b/pkgs/development/libraries/tk/builder.sh new file mode 100644 index 0000000000000..2f036ebd66eb5 --- /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 0000000000000..27d7cdc46d7bf --- /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]; +} |