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

24 lines
588 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2016-09-09 22:36:36 +00:00
buildGoPackage rec {
pname = "go-md2man";
2020-04-12 07:26:12 +00:00
version = "2.0.0";
2016-09-09 22:36:36 +00:00
goPackagePath = "github.com/cpuguy83/go-md2man";
src = fetchFromGitHub {
rev = "v${version}";
owner = "cpuguy83";
repo = "go-md2man";
2020-04-12 07:26:12 +00:00
sha256 = "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv";
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
};
}