mktoc: init at 4.0.0 (#467797)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user