nixpkgs/pkgs/development/interpreters/tcl/default.nix

23 lines
452 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "tcl-8.4.18";
src = fetchurl {
url = mirror://sourceforge/tcl/tcl8.4.18-src.tar.gz;
sha256 = "197h3m2lc5a6famc683zhjp55774gf8zwggfy2893v48lp5p7qny";
};
preConfigure = "cd unix";
postInstall = ''
make install-private-headers
ln -s $out/bin/tclsh8.4 $out/bin/tclsh
'';
meta = {
description = "The Tcl scription language";
homepage = http://www.tcl.tk/;
};
}