mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
github-markdown-toc-go: init at 1.4.0 (#295994)
This commit is contained in:
commit
5a4a7fba38
25
pkgs/by-name/gi/github-markdown-toc-go/package.nix
Normal file
25
pkgs/by-name/gi/github-markdown-toc-go/package.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user