2024-05-02 12:10:30 -06:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cent";
|
2024-06-11 19:06:38 -06:00
|
|
|
version = "1.3.4";
|
2024-05-02 12:10:30 -06:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xm1k3";
|
|
|
|
repo = "cent";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-06-11 19:06:38 -06:00
|
|
|
hash = "sha256-xwGmBZgdpyYJ1AKoNUUPEMbU5/racalE4SLrx/E51wM=";
|
2024-05-02 12:10:30 -06:00
|
|
|
};
|
|
|
|
|
2024-06-11 19:06:38 -06:00
|
|
|
vendorHash = "sha256-GMnTIEnkOt0cRN9pZzEuqqtWmO27uVja9VG5UNeCHJo=";
|
2024-05-02 12:10:30 -06:00
|
|
|
|
|
|
|
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;
|
2024-07-28 08:44:11 -06:00
|
|
|
maintainers = [ ];
|
2024-05-02 12:10:30 -06:00
|
|
|
mainProgram = "cent";
|
|
|
|
};
|
|
|
|
}
|