about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/misc/md2man/default.nix
blob: 7db3c902c7cfdd2e5ea94496cff9bdf266e37b88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "go-md2man";
  version = "2.0.0";

  goPackagePath = "github.com/cpuguy83/go-md2man";

  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;
  };
}