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

28 lines
545 B
Nix
Raw Normal View History

2014-01-14 13:23:44 +01:00
{ stdenv, fetchurl }:
stdenv.mkDerivation {
2014-01-14 13:23:44 +01:00
name = "tcl-8.5.15";
src = fetchurl {
2014-01-14 13:23:44 +01:00
url = mirror://sourceforge/tcl/tcl8.5.15-src.tar.gz;
sha256 = "0kl8lbfwy4v4q4461wjmva95h0pgiprykislpw4nnpkrc7jalkpj";
};
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";
};
}