3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/go-md2man/default.nix
zowoq 6da0dcc42a go-md2man: switch to buildGoModule
also rename dir to match attribute.
2021-03-31 21:06:06 +10:00

24 lines
558 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-md2man";
version = "2.0.0";
vendorSha256 = null;
src = fetchFromGitHub {
rev = "v${version}";
owner = "cpuguy83";
repo = "go-md2man";
sha256 = "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv";
};
meta = with lib; {
description = "Go tool to convert markdown to man pages";
license = licenses.mit;
homepage = "https://github.com/cpuguy83/go-md2man";
maintainers = with maintainers; [offline];
platforms = platforms.unix;
};
}