2021-04-30 22:49:16 +00:00
|
|
|
{ lib, fetchurl, tcl }:
|
2016-07-16 19:51:15 +00:00
|
|
|
|
2021-04-30 22:49:16 +00:00
|
|
|
tcl.mkTclDerivation rec {
|
2016-07-16 19:51:15 +00:00
|
|
|
name = "tclx-${version}.${patch}";
|
|
|
|
version = "8.4";
|
|
|
|
patch = "1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tclx/tclx${version}.${patch}.tar.bz2";
|
|
|
|
sha256 = "1v2qwzzidz0is58fd1p7wfdbscxm3ip2wlbqkj5jdhf6drh1zd59";
|
|
|
|
};
|
|
|
|
|
2021-04-30 22:49:16 +00:00
|
|
|
# required in order for tclx to properly detect tclx.tcl at runtime
|
2021-05-11 15:17:54 +00:00
|
|
|
postInstall = ''
|
2021-05-11 17:25:25 +00:00
|
|
|
ln -s $prefix/lib/tclx${version} $prefix/lib/tclx${version}/tclx${version}
|
2021-05-11 15:17:54 +00:00
|
|
|
'';
|
2016-07-16 19:51:15 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://tclx.sourceforge.net/";
|
2016-07-16 19:51:15 +00:00
|
|
|
description = "Tcl extensions";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.tcltk;
|
|
|
|
maintainers = with lib.maintainers; [ kovirobi ];
|
2016-07-16 19:51:15 +00:00
|
|
|
};
|
|
|
|
}
|