depot/third_party/nixpkgs/pkgs/tools/misc/gh-dash/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

28 lines
696 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "gh-dash";
version = "3.4.2";
src = fetchFromGitHub {
owner = "dlvhdr";
repo = "gh-dash";
rev = "v${version}";
sha256 = "sha256-MiVscWYq2Y9EaupSYbTA9bsToLoIVhHCNE2Kj0GpkPw=";
};
vendorSha256 = "sha256-BbrHvphTQLvUKanmO4GrNpkT0MSlY7+WMJiyXV7dFB8=";
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 ];
};
}