1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/development/interpreters/tcl/generic.nix
2015-04-30 18:49:27 -07:00

36 lines
653 B
Nix

{ stdenv, fetchurl
# Version specific stuff
, release, version, src
, ...
}:
stdenv.mkDerivation rec {
name = "tcl-${version}";
inherit src;
preConfigure = ''
cd unix
'';
postInstall = ''
make install-private-headers
ln -s $out/bin/tclsh${release} $out/bin/tclsh
'';
meta = with stdenv.lib; {
description = "The Tcl scription language";
homepage = http://www.tcl.tk/;
license = licenses.tcltk;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
};
passthru = rec {
inherit release version;
libPrefix = "tcl${release}";
libdir = "lib/${libPrefix}";
};
}