nixpkgs/pkgs/tools/misc/gh-dash/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
696 B
Nix
Raw Normal View History

2022-07-27 20:07:40 +00:00
{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "gh-dash";
2022-11-15 02:55:21 +00:00
version = "3.5.1";
2022-07-27 20:07:40 +00:00
src = fetchFromGitHub {
owner = "dlvhdr";
repo = "gh-dash";
rev = "v${version}";
2022-11-15 02:55:21 +00:00
sha256 = "sha256-MGdo145qdm/uOiVJfuxy1vblgJjPGQWf3i58xpAWIkQ=";
2022-07-27 20:07:40 +00:00
};
2022-11-15 02:55:21 +00:00
vendorSha256 = "sha256-66GxD48fCWUWMyZ3GiivWNtz0mgI4JHMcvNwHGFTRfU=";
2022-07-27 20:07:40 +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 ];
};
}