summary refs log tree commit diff
path: root/pkgs/development/interpreters/tcl/default.nix
blob: 48755065b992299b5869435debdb139eaa312073 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{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";
  };
}