1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-26 07:43:45 +01:00
github.com-tboerger-nixos-c.../overlays/gh-dash/default.nix

31 lines
656 B
Nix
Raw Permalink Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "gh-dash";
2024-07-17 16:05:33 +02:00
version = "3.14.0";
src = fetchFromGitHub {
owner = "dlvhdr";
repo = "gh-dash";
rev = "v${version}";
2024-07-17 16:05:33 +02:00
sha256 = "sha256-6YPUGOQ2KBfu+3XAgub9Cpz0QBrU2kV+gq13tUtzY+w=";
};
2024-07-17 16:05:33 +02:00
vendorHash = "sha256-jCf9FWAhZK5hTzyy8N4r5dfUYTgESmsn8iKxCccgWiM=";
ldflags = [
"-s"
"-w"
"-X main.Version=${version}"
];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/dlvhdr/gh-dash";
description = "gh extension to show a dashboard on cli";
license = licenses.mit;
maintainers = with maintainers; [ tboerger ];
};
}