user-scanner: init at 1.4.1 (#537729)

This commit is contained in:
Fabian Affolter
2026-07-03 08:59:53 +00:00
committed by GitHub

View File

@@ -0,0 +1,49 @@
{
lib,
fetchFromGitHub,
nix-update-script,
python3Packages,
versionCheckHook,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "user-scanner";
version = "1.4.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "kaifcodec";
repo = "user-scanner";
tag = "v${finalAttrs.version}";
hash = "sha256-SDi13KGqWXgNXdgF5KOpqEcjwbuNv4PU5ahB5UdsbWQ=";
};
build-system = with python3Packages; [ flit-core ];
dependencies = with python3Packages; [
colorama
httpx
socksio
];
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
pythonImportsCheck = [ "user_scanner" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Email & Username OSINT suite";
homepage = "https://github.com/kaifcodec/user-scanner";
changelog = "https://github.com/kaifcodec/user-scanner/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "user-scanner";
};
})