Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "go-md2man";
5 version = "2.0.2";
6
7 vendorSha256 = null;
8
9 src = fetchFromGitHub {
10 rev = "v${version}";
11 owner = "cpuguy83";
12 repo = "go-md2man";
13 sha256 = "sha256-C+MaDtvfPYABSC2qoMfZVHe2xX/WtDjp6v/ayFCIGac=";
14 };
15
16 meta = with lib; {
17 description = "Go tool to convert markdown to man pages";
18 license = licenses.mit;
19 homepage = "https://github.com/cpuguy83/go-md2man";
20 maintainers = with maintainers; [offline];
21 platforms = platforms.unix;
22 };
23}