cook-framework: use tag in src, add updater

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2024-12-30 17:28:39 -03:00
parent 0a4b89adfe
commit 7de2a23f8c
+4 -1
View File
@@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
gitUpdater,
}:
buildGoModule rec {
@@ -11,7 +12,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "glitchedgitz";
repo = "cook";
rev = "refs/tags/v${version}";
tag = "v${version}";
hash = "sha256-DK0kbvM11t64nGkrzThZgSruHTCHAPP374YPWmoM50g=";
};
@@ -21,6 +22,8 @@ buildGoModule rec {
doCheck = false; # uses network to fetch data sources
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
description = "Wordlist generator, splitter, merger, finder, saver for security researchers, bug bounty and hackers";
homepage = "https://github.com/glitchedgitz/cook";