mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
024308f1cd
Tool to handle Nuclei community templates https://github.com/xm1k3/cent
34 lines
701 B
Nix
34 lines
701 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "cent";
|
|
version = "1.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xm1k3";
|
|
repo = "cent";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-E3gAtrgWVucV3cD31ntgtdTDkhmqJHOiFwaUdVJj0jQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-LvI9FJFXBnEXNsX3qp2Sl58ccIJtYDGSEtNUwNW/Pp0=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to handle Nuclei community templates";
|
|
homepage = "https://github.com/xm1k3/cent";
|
|
changelog = "https://github.com/xm1k3/cent/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
mainProgram = "cent";
|
|
};
|
|
}
|