depot/pkgs/by-name/gi/github-markdown-toc-go/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
648 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "github-markdown-toc-go";
version = "1.4.0";
src = fetchFromGitHub {
owner = "ekalinin";
repo = "github-markdown-toc.go";
rev = "v${version}";
hash = "sha256-tZGAvbC9lrNhtRubCJUkQShRsfCsaAeI6XHhSp4FkS0=";
};
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";
};
}