nixpkgs/pkgs/development/tools/misc/go-md2man/default.nix

24 lines
557 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2016-09-09 22:36:36 +00:00
buildGoModule rec {
pname = "go-md2man";
2021-07-21 12:55:01 +00:00
version = "2.0.1";
2016-09-09 22:36:36 +00:00
vendorSha256 = null;
2016-09-09 22:36:36 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "cpuguy83";
repo = "go-md2man";
2021-07-21 12:55:01 +00:00
sha256 = "sha256-DnXWnHWtczNnLaQg9Wnp9U/K4h/FbhqGgba44P6VNBQ=";
2016-09-09 22:36:36 +00:00
};
2020-04-12 07:26:12 +00:00
meta = with lib; {
2016-09-09 22:36:36 +00:00
description = "Go tool to convert markdown to man pages";
license = licenses.mit;
homepage = "https://github.com/cpuguy83/go-md2man";
2016-09-09 22:36:36 +00:00
maintainers = with maintainers; [offline];
2016-09-30 14:44:44 +00:00
platforms = platforms.unix;
2016-09-09 22:36:36 +00:00
};
}