xfce.xfce4-notes-plugin: Generate C code with newer Vala (#359006)
[NixPkgs.git] / pkgs / by-name / gh / gh-poi / package.nix
blobf2fa0e9f515768765a08832e9c30175dfcf5386b
1 { lib
2 , fetchFromGitHub
3 , buildGoModule
4 }:
6 buildGoModule rec {
7   pname = "gh-poi";
8   version = "0.11.0";
10   src = fetchFromGitHub {
11     owner = "seachicken";
12     repo = "gh-poi";
13     rev = "v${version}";
14     hash = "sha256-xLeIqTGwizvBmOgwisqoCrFY4KdWoWrA0YYgPWtQT/M=";
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.11.0/.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   };