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
27 lines
653 B
Nix
27 lines
653 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "github-markdown-toc-go";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ekalinin";
|
|
repo = "github-markdown-toc.go";
|
|
rev = "v${version}";
|
|
hash = "sha256-hCkahhnTAF17ctJTL83wZxZiKGDzIKLwWKTTnwYQ3cs=";
|
|
};
|
|
|
|
vendorHash = "sha256-K5yb7bnW6eS5UESK9wgNEUwGjB63eJk6+B0jFFiFero=";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ekalinin/github-markdown-toc.go";
|
|
description = "Easy TOC creation for GitHub README.md (in go)";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dannixon ];
|
|
mainProgram = "gh-md-toc";
|
|
};
|
|
}
|