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
28 lines
650 B
Nix
28 lines
650 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "mdbook-toc";
|
|
version = "0.14.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "badboy";
|
|
repo = "mdbook-toc";
|
|
tag = version;
|
|
sha256 = "sha256-OFNp+kFDafYbzqb7xfPTO885cAjgWfNeDvUPDKq5GJU=";
|
|
};
|
|
|
|
cargoHash = "sha256-0x/x3TRwRinQ/uLCQoRrJOE/mc2snkL/MCz76nQqb5E=";
|
|
|
|
meta = {
|
|
description = "Preprocessor for mdbook to add inline Table of Contents support";
|
|
mainProgram = "mdbook-toc";
|
|
homepage = "https://github.com/badboy/mdbook-toc";
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
|
};
|
|
}
|