Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
30 lines
669 B
Nix
30 lines
669 B
Nix
{
|
|
lib,
|
|
fetchzip,
|
|
mkTclDerivation,
|
|
critcl,
|
|
withCritcl ? true,
|
|
}:
|
|
|
|
mkTclDerivation rec {
|
|
pname = "tcllib";
|
|
version = "2.0";
|
|
|
|
src = fetchzip {
|
|
url = "mirror://sourceforge/tcllib/tcllib-${version}.tar.gz";
|
|
hash = "sha256-LoY6y7p9n1dXk4eSa/HuyA4bIXa0rN7F2OGESk2tROI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|