diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/go-md2man/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/misc/go-md2man/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/go-md2man/default.nix b/nixpkgs/pkgs/development/tools/misc/go-md2man/default.nix new file mode 100644 index 000000000000..8c43fe7f5947 --- /dev/null +++ b/nixpkgs/pkgs/development/tools/misc/go-md2man/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "go-md2man"; + version = "2.0.1"; + + vendorSha256 = null; + + src = fetchFromGitHub { + rev = "v${version}"; + owner = "cpuguy83"; + repo = "go-md2man"; + sha256 = "sha256-DnXWnHWtczNnLaQg9Wnp9U/K4h/FbhqGgba44P6VNBQ="; + }; + + 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; + }; +} |