about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/misc/md2man/default.nix
blob: 7cbd9246081768b0c49ec5c576c0c01a2c65603b (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
24
25
{ lib, buildGoPackage, fetchFromGitHub }:

with lib;

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

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

  src = fetchFromGitHub {
    rev = "v${version}";
    owner = "cpuguy83";
    repo = "go-md2man";
    sha256 = "1rm3zjrmfpzy0l3qp02xmd5pqzl77pdql9pbxhl0k1qw2vfzrjv6";
  };

  meta = {
    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;
  };
}