1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/development/interpreters/tcl/default.nix
aszlig ae32dd91d4
tcl: Set license to licenses.tcltk.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-09-09 07:00:01 +02:00

28 lines
541 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "tcl-8.5.7";
src = fetchurl {
url = mirror://sourceforge/tcl/tcl8.5.7-src.tar.gz;
sha256 = "1wk67qq12bdbaqsi6cxwj6ra8nc8ph1na9rh808kfk6hm18qvlk7";
};
preConfigure = "cd unix";
postInstall = ''
make install-private-headers
ln -s $out/bin/tclsh8.5 $out/bin/tclsh
'';
meta = {
description = "The Tcl scription language";
homepage = http://www.tcl.tk/;
license = stdenv.lib.licenses.tcltk;
};
passthru = {
libdir = "lib/tcl8.5";
};
}