cook-framework: use tag in src, add updater (#368237)

This commit is contained in:
Gaétan Lepage
2024-12-30 21:36:39 +01:00
committed by GitHub
+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";