depot/third_party/nixpkgs/pkgs/by-name/go/go-md2man/package.nix

27 lines
612 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "go-md2man";
version = "2.0.5";
vendorHash = "sha256-aMLL/tmRLyGze3RSB9dKnoTv5ZK1eRtgV8fkajWEbU0=";
src = fetchFromGitHub {
rev = "v${version}";
owner = "cpuguy83";
repo = "go-md2man";
sha256 = "sha256-UX9FajFqZApVFED3MYcq167iPwztnIck25ehfcOeFD8=";
};
meta = with lib; {
description = "Go tool to convert markdown to man pages";
mainProgram = "go-md2man";
license = licenses.mit;
homepage = "https://github.com/cpuguy83/go-md2man";
maintainers = with maintainers; [ offline ];
};
}