2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gh-dash";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "3.6.0";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dlvhdr";
|
|
|
|
repo = "gh-dash";
|
|
|
|
rev = "v${version}";
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-pQd41uQdfkbqIjdUIwUnKS/Qso495Ips8P2CXPd8JRU=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
vendorHash = "sha256-66GxD48fCWUWMyZ3GiivWNtz0mgI4JHMcvNwHGFTRfU=";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|