nixpkgs/pkgs/by-name/fa/falcoctl/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
774 B
Nix
Raw Normal View History

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "falcoctl";
2023-06-25 13:45:34 +00:00
version = "0.5.1";
src = fetchFromGitHub {
owner = "falcosecurity";
repo = "falcoctl";
rev = "v${version}";
2023-06-25 13:45:34 +00:00
hash = "sha256-X4fZBTEbOIQbfmuxDODEkYW43ntVIkwFDULYq+ps+9s=";
};
2023-06-25 13:45:34 +00:00
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
];
};
}