vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / by-name / gh / gh-poi / package.nix
blobb1a72b88516bf3ef133637c4332c67ba8712583e
1 { lib
2 , fetchFromGitHub
3 , buildGoModule
4 }:
6 buildGoModule rec {
7   pname = "gh-poi";
8   version = "0.10.1";
10   src = fetchFromGitHub {
11     owner = "seachicken";
12     repo = "gh-poi";
13     rev = "v${version}";
14     hash = "sha256-ZQkXXaa4n88bJdgP2FSXtgBrUi39teO98SzZq+I5doM=";
15   };
17   ldflags = [ "-s" "-w" ];
19   vendorHash = "sha256-D/YZLwwGJWCekq9mpfCECzJyJ/xSlg7fC6leJh+e8i0=";
21   # Skip checks because some of test suites require fixture.
22   # See: https://github.com/seachicken/gh-poi/blob/v0.10.1/.github/workflows/contract-test.yml#L28-L29
23   doCheck = false;
25   meta = with lib; {
26     changelog = "https://github.com/seachicken/gh-poi/releases/tag/${src.rev}";
27     description = "GitHub CLI extension to safely clean up your local branches";
28     homepage = "https://github.com/seachicken/gh-poi";
29     license = licenses.mit;
30     maintainers = with maintainers; [ aspulse ];
31     mainProgram = "gh-poi";
32   };