tclPackages.tcl-cmark: init at 1.1 (#571198)

This commit is contained in:
Francesco Gazzetta
2026-10-25 10:56:18 +00:00
committed by GitHub

View File

@@ -0,0 +1,41 @@
{
lib,
mkTclDerivation,
fetchFromGitHub,
cmark-gfm,
pkg-config,
}:
mkTclDerivation (finalAttrs: {
pname = "tcl-cmark";
version = "1.1";
src = fetchFromGitHub {
owner = "apnadkarni";
repo = "tcl-cmark";
tag = "v${finalAttrs.version}";
hash = "sha256-jvtvmbpttQlfLQfhhTpHn6q492DU51k0QJr/8omXhuY=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
cmark-gfm
];
tclRequiresCheck = [
"cmark"
];
doInstallCheck = true;
installCheckTarget = "test";
meta = {
description = "Tcl bindings to the cmark-gfm Github Flavoured CommonMark/Markdown library";
homepage = "https://github.com/apnadkarni/tcl-cmark";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fgaz ];
};
})