Skip to content

Commit

Permalink
github-markdown-toc-go: init at 1.4.0 (#295994)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Oct 28, 2024
2 parents aa2b1d2 + 2c72efd commit 5a4a7fb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/by-name/gi/github-markdown-toc-go/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ 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";
};
}

0 comments on commit 5a4a7fb

Please sign in to comment.