blob: 1e6098aa637aec492b39e0d8e1a56e02fea65783 (
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
|
{ lib
, fetchFromGitHub
, tcl
}:
tcl.mkTclDerivation rec {
pname = "tclx";
version = "8.6.2";
src = fetchFromGitHub {
owner = "flightaware";
repo = "tclx";
rev = "v${version}";
hash = "sha256-ZYJcaVBM5DQWBFYAcW6fx+ENMWJwHzTOUKYPkLsd6o8=";
};
# required in order for tclx to properly detect tclx.tcl at runtime
postInstall = let
majorMinorVersion = lib.versions.majorMinor version;
in ''
ln -s $prefix/lib/tclx${majorMinorVersion} $prefix/lib/tclx${majorMinorVersion}/tclx${majorMinorVersion}
'';
meta = {
homepage = "https://github.com/flightaware/tclx";
description = "Tcl extensions";
license = lib.licenses.tcltk;
maintainers = with lib.maintainers; [ kovirobi fgaz ];
};
}
|