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

24 lines
588 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2016-09-09 23:36:36 +01:00
buildGoPackage rec {
pname = "go-md2man";
2020-04-12 08:26:12 +01:00
version = "2.0.0";
2016-09-09 23:36:36 +01:00
goPackagePath = "github.com/cpuguy83/go-md2man";
src = fetchFromGitHub {
rev = "v${version}";
owner = "cpuguy83";
repo = "go-md2man";
2020-04-12 08:26:12 +01:00
sha256 = "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv";
2016-09-09 23:36:36 +01:00
};
2020-04-12 08:26:12 +01:00
meta = with lib; {
2016-09-09 23:36:36 +01:00
description = "Go tool to convert markdown to man pages";
license = licenses.mit;
homepage = "https://github.com/cpuguy83/go-md2man";
2016-09-09 23:36:36 +01:00
maintainers = with maintainers; [offline];
2016-09-30 15:44:44 +01:00
platforms = platforms.unix;
2016-09-09 23:36:36 +01:00
};
}