504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
28 lines
655 B
Nix
28 lines
655 B
Nix
{ lib
|
|
, fetchzip
|
|
, tcl
|
|
, critcl
|
|
, withCritcl ? true
|
|
}:
|
|
|
|
tcl.mkTclDerivation rec {
|
|
pname = "tcllib";
|
|
version = "1.21";
|
|
|
|
src = fetchzip {
|
|
url = "mirror://sourceforge/tcllib/tcllib-${version}.tar.gz";
|
|
hash = "sha256-p8thpRpC+9k/LvbBFaSOIpDXuhMlEWhs0qbrjtKcTzQ=";
|
|
};
|
|
|
|
nativeBuildInputs = lib.optional withCritcl critcl;
|
|
|
|
buildFlags = [ "all" ] ++ lib.optional withCritcl "critcl";
|
|
|
|
meta = {
|
|
homepage = "https://core.tcl-lang.org/tcllib/";
|
|
description = "Tcl-only library of standard routines for Tcl";
|
|
license = lib.licenses.tcltk;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ fgaz ];
|
|
};
|
|
}
|