From ae907f70cf3da4354639583b89ba64c3c13f6265 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 26 Dec 2025 21:22:14 +0100 Subject: [PATCH] bitcrook: init at 2.3.2 Tool to do OSINT https://github.com/ax-i-om/bitcrook --- pkgs/by-name/bi/bitcrook/package.nix | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/by-name/bi/bitcrook/package.nix diff --git a/pkgs/by-name/bi/bitcrook/package.nix b/pkgs/by-name/bi/bitcrook/package.nix new file mode 100644 index 000000000000..3dcf27e3ba5f --- /dev/null +++ b/pkgs/by-name/bi/bitcrook/package.nix @@ -0,0 +1,41 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + versionCheckHook, +}: + +buildGoModule rec { + pname = "bitcrook"; + version = "2.3.2"; + + src = fetchFromGitHub { + owner = "ax-i-om"; + repo = "bitcrook"; + tag = "v${version}"; + hash = "sha256-O2u5e6LmfrxsfrBY3OPFTottheGO+ue8qMLqbDVMBhA="; + }; + + vendorHash = "sha256-19uN+jTqZDqIu/rqS/U9JSnZWowTlLAgHG7+YhXaOd4="; + + ldflags = [ + "-s" + "-w" + ]; + + nativeInstallCheckInputs = [ versionCheckHook ]; + + doInstallCheck = true; + + # Tests require network access + doCheck = false; + + meta = { + description = "Tool to do OSINT"; + homepage = "https://github.com/ax-i-om/bitcrook"; + changelog = "https://github.com/ax-i-om/bitcrook/releases/tag/${src.tag}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "bitcrook"; + }; +}