2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gh-dash";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "3.4.2";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dlvhdr";
|
|
|
|
repo = "gh-dash";
|
|
|
|
rev = "v${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-MiVscWYq2Y9EaupSYbTA9bsToLoIVhHCNE2Kj0GpkPw=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2022-09-14 18:05:37 +00:00
|
|
|
vendorSha256 = "sha256-BbrHvphTQLvUKanmO4GrNpkT0MSlY7+WMJiyXV7dFB8=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|