blob: cfa4bb48c197b7077be3cdcd2b33600e61bcdb0b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ 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}";
};
}
|