1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "cent";
9 version = "1.3.4";
10
11 src = fetchFromGitHub {
12 owner = "xm1k3";
13 repo = "cent";
14 tag = "v${version}";
15 hash = "sha256-xwGmBZgdpyYJ1AKoNUUPEMbU5/racalE4SLrx/E51wM=";
16 };
17
18 vendorHash = "sha256-GMnTIEnkOt0cRN9pZzEuqqtWmO27uVja9VG5UNeCHJo=";
19
20 ldflags = [
21 "-s"
22 "-w"
23 ];
24
25 meta = {
26 description = "Tool to handle Nuclei community templates";
27 homepage = "https://github.com/xm1k3/cent";
28 changelog = "https://github.com/xm1k3/cent/releases/tag/v${version}";
29 license = lib.licenses.asl20;
30 maintainers = with lib.maintainers; [ ];
31 mainProgram = "cent";
32 };
33}