about summary refs log tree commit diff
path: root/pkgs/tools/misc/gh-dash
diff options
context:
space:
mode:
authoramesgen <amesgen@amesgen.de>2022-07-27 22:07:40 +0200
committerMatthieu Coudron <teto@users.noreply.github.com>2022-08-10 20:54:06 +0200
commitac27a3cd321a10b82a7c0cc6d423c40f929cfc86 (patch)
treeee384cfb62306fe19faeb8e49a58a2751cb0f2c8 /pkgs/tools/misc/gh-dash
parent5d1fdccef119ddea1db90a84e87377ec18db0990 (diff)
gh-dash: init at 3.2.0
Diffstat (limited to 'pkgs/tools/misc/gh-dash')
-rw-r--r--pkgs/tools/misc/gh-dash/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/gh-dash/default.nix b/pkgs/tools/misc/gh-dash/default.nix
new file mode 100644
index 0000000000000..2dcf9dfea461b
--- /dev/null
+++ b/pkgs/tools/misc/gh-dash/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, fetchFromGitHub
+, buildGoModule
+}:
+
+buildGoModule rec {
+  pname = "gh-dash";
+  version = "3.2.0";
+
+  src = fetchFromGitHub {
+    owner = "dlvhdr";
+    repo = "gh-dash";
+    rev = "v${version}";
+    sha256 = "sha256-y7PJ8BDTiip6cjKQ3CVIcf3LwlGsEj3DHn3EOtCGa4A=";
+  };
+
+  vendorSha256 = "sha256-Hk/sBUI2XYB+ZHfuGUR3muEzUtVsGR28EkRD1jKg0Ss=";
+
+  ldflags = [ "-s" "-w" ];
+
+  meta = {
+    description = "gh extension to display a dashboard with pull requests and issues";
+    homepage = "https://github.com/dlvhdr/gh-dash";
+    changelog = "https://github.com/dlvhdr/gh-dash/releases/tag/${src.rev}";
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ amesgen ];
+  };
+}