frigate: fix event preview (#372427)
[NixPkgs.git] / pkgs / by-name / gt / gtfocli / package.nix
blob6579ba0ba645ddd10f4077fd6cf4a043bdcf0790
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "gtfocli";
9   version = "0.0.5";
11   src = fetchFromGitHub {
12     owner = "cmd-tools";
13     repo = "gtfocli";
14     tag = version;
15     hash = "sha256-yvL9H9yOiYTaWtm5cj9A8y+kKXLQgLqUMu9JMnm1llI=";
16   };
18   vendorHash = "sha256-M1/XTY4ihkPNDiCv87I+kPgsTPU+sCqdnRoP09iVFu4=";
20   ldflags = [
21     "-s"
22     "-w"
23   ];
25   meta = with lib; {
26     description = "GTFO Command Line Interface for search binaries commands to bypass local security restrictions";
27     homepage = "https://github.com/cmd-tools/gtfocli";
28     changelog = "https://github.com/cmd-tools/gtfocli/releases/tag/${version}";
29     license = licenses.asl20;
30     maintainers = with maintainers; [ fab ];
31     mainProgram = "gtfocli";
32   };