mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
27 lines
545 B
Nix
27 lines
545 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "tcl-8.5.15";
|
|
|
|
src = fetchurl {
|
|
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";
|
|
};
|
|
}
|