summary refs log tree commit diff
path: root/pkgs/development/tools/misc/go-md2man
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-03-31 16:56:55 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-03-31 21:06:06 +1000
commit6da0dcc42ada96a3a5e7953281487636e8a9d5fa (patch)
tree639a3a9fa7665f7b3074eefb586cc782bec511c2 /pkgs/development/tools/misc/go-md2man
parentb6dad95597932ca8096ee57eddc6d9ec5505f405 (diff)
downloadnixpkgs-6da0dcc42ada96a3a5e7953281487636e8a9d5fa.tar
nixpkgs-6da0dcc42ada96a3a5e7953281487636e8a9d5fa.tar.gz
nixpkgs-6da0dcc42ada96a3a5e7953281487636e8a9d5fa.tar.bz2
nixpkgs-6da0dcc42ada96a3a5e7953281487636e8a9d5fa.tar.lz
nixpkgs-6da0dcc42ada96a3a5e7953281487636e8a9d5fa.tar.xz
nixpkgs-6da0dcc42ada96a3a5e7953281487636e8a9d5fa.tar.zst
nixpkgs-6da0dcc42ada96a3a5e7953281487636e8a9d5fa.zip
go-md2man: switch to buildGoModule
also rename dir to match attribute.
Diffstat (limited to 'pkgs/development/tools/misc/go-md2man')
-rw-r--r--pkgs/development/tools/misc/go-md2man/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/go-md2man/default.nix b/pkgs/development/tools/misc/go-md2man/default.nix
new file mode 100644
index 00000000000..fe43da91b54
--- /dev/null
+++ b/pkgs/development/tools/misc/go-md2man/default.nix
@@ -0,0 +1,23 @@
+{ 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;
+  };
+}