nixpkgs/pkgs/by-name/ce/cent/package.nix

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

34 lines
683 B
Nix
Raw Permalink Normal View History

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "cent";
2024-06-11 19:06:38 -06:00
version = "1.3.4";
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-06-11 19:06:38 -06:00
vendorHash = "sha256-GMnTIEnkOt0cRN9pZzEuqqtWmO27uVja9VG5UNeCHJo=";
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 = [ ];
mainProgram = "cent";
};
}