1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/development/interpreters/tcl/default.nix

28 lines
545 B
Nix
Raw Normal View History

2014-01-14 12:23:44 +00:00
{ stdenv, fetchurl }:
stdenv.mkDerivation {
2014-01-14 12:23:44 +00:00
name = "tcl-8.5.15";
src = fetchurl {
2014-01-14 12:23:44 +00: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";
};
}