about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/falcoctl/default.nix
blob: 7a73cc8cea29b43d0f4f5e4aa4c6f5d2384c100b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "falcoctl";
  version = "0.5.1";

  src = fetchFromGitHub {
    owner = "falcosecurity";
    repo = "falcoctl";
    rev = "v${version}";
    hash = "sha256-X4fZBTEbOIQbfmuxDODEkYW43ntVIkwFDULYq+ps+9s=";
  };

  vendorHash = "sha256-26EXoXMWK/zPX4M7kG3QRAb4aqtIWgSnSgXcxKUwfZk=";


  ldflags = [
    "-s"
    "-w"
    "-X github.com/falcosecurity/falcoctl/cmd/version.semVersion=${version}"
  ];

  meta = with lib; {
    description = "Administrative tooling for Falco";
    mainProgram = "falcoctl";
    homepage = "https://github.com/falcosecurity/falcoctl";
    license = licenses.asl20;
    maintainers = with maintainers; [ developer-guy kranurag7 LucaGuerra ];
  };
}