Merge pull request #216854 from amesgen/gh-dash-3.7.6

gh-dash: 3.6.0 -> 3.7.6
This commit is contained in:
Nick Cao 2023-02-18 10:42:39 +08:00 committed by GitHub
commit 396d8cdc91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,32 @@
{ lib
, fetchFromGitHub
, buildGoModule
, testers
, gh-dash
}:
buildGoModule rec {
pname = "gh-dash";
version = "3.6.0";
version = "3.7.6";
src = fetchFromGitHub {
owner = "dlvhdr";
repo = "gh-dash";
rev = "v${version}";
sha256 = "sha256-pQd41uQdfkbqIjdUIwUnKS/Qso495Ips8P2CXPd8JRU=";
hash = "sha256-EYDSfxFOnMuPDZaG1CYQtYLNe6afm/2YYlQPheAKXDg=";
};
vendorHash = "sha256-66GxD48fCWUWMyZ3GiivWNtz0mgI4JHMcvNwHGFTRfU=";
ldflags = [ "-s" "-w" ];
ldflags = [
"-s"
"-w"
"-X github.com/dlvhdr/gh-dash/cmd.Version=${version}"
];
passthru.tests = {
version = testers.testVersion { package = gh-dash; };
};
meta = {
description = "gh extension to display a dashboard with pull requests and issues";