mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
user-scanner: init at 1.4.1 (#537729)
This commit is contained in:
49
pkgs/by-name/us/user-scanner/package.nix
Normal file
49
pkgs/by-name/us/user-scanner/package.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user