nixpkgs/pkgs/applications/networking/cluster/falcoctl/default.nix
Anurag 34f8702a48 falcoctl: init at 0.5.0
Signed-off-by: Anurag <contact.anurag7@gmail.com>

Update formatting

Co-authored-by: Emily <git@emilylange.de>

use on with GO111MODULE

Co-authored-by: Emily <git@emilylange.de>

Move to nix default (CGO)

Co-authored-by: Emily <git@emilylange.de>
2023-06-01 16:22:25 +05:30

30 lines
716 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "falcoctl";
version = "0.5.0";
src = fetchFromGitHub {
owner = "falcosecurity";
repo = "falcoctl";
rev = "v${version}";
hash = "sha256-+6q7U/ipyIuoOPVo+yFuj2r3WAA2AozSqxjj4f5of68=";
};
vendorHash = "sha256-12n5OZtrPSl+XUm+wsaTI5SVfJz/aGEhNQdMyEOGhkw=";
ldflags = [
"-s"
"-w"
"-X github.com/falcosecurity/falcoctl/cmd/version.semVersion=${version}"
];
meta = with lib; {
description = "Administrative tooling for Falco";
homepage = "https://github.com/falcosecurity/falcoctl";
license = licenses.asl20;
maintainers = with maintainers; [ developer-guy kranurag7 LucaGuerra ];
};
}