mktoc: init at 4.0.0 (#467797)

This commit is contained in:
Jenny
2025-12-04 12:45:34 +00:00
committed by GitHub
2 changed files with 39 additions and 0 deletions
+6
View File
@@ -13515,6 +13515,12 @@
name = "Kevin Cox";
keys = [ { fingerprint = "B66B 891D D83B 0E67 7D84 FC30 9BB9 2CC1 552E 99AA"; } ];
};
kevingimbel = {
email = "kevin@gimbel.dev";
github = "KevinGimbel";
githubId = 2161714;
name = "Kevin Gimbel";
};
kevingriffin = {
email = "me@kevin.jp";
github = "kevingriffin";
+33
View File
@@ -0,0 +1,33 @@
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mktoc";
version = "4.0.0";
src = fetchFromGitHub {
owner = "KevinGimbel";
repo = "mktoc";
rev = "v${finalAttrs.version}";
hash = "sha256-Pq4o0t0cUrkXff+qSU5mlDo5A0nhFBuFk3Xz10AWDeo=";
};
cargoHash = "sha256-SdwNXstW61Yvp1V72nxl+9dijGJwyrdPYZo+q0UGYGg=";
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
meta = {
description = "Markdown Table of Content generator";
homepage = "https://github.com/KevinGimbel/mktoc";
license = lib.licenses.mit;
mainProgram = "mktoc";
maintainers = with lib.maintainers; [ kevingimbel ];
};
})