depot/third_party/nixpkgs/pkgs/by-name/su/subprober/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

53 lines
1 KiB
Nix

{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "subprober";
version = "1.0.9";
pyproject = true;
src = fetchFromGitHub {
owner = "RevoltSecurities";
repo = "SubProber";
rev = "refs/tags/v${version}";
hash = "sha256-CxmePd1dw9H/XLQZ16JMF1pdFFOI59Qa2knTnKKzFvM=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
aiodns
aiofiles
aiohttp
alive-progress
anyio
appdirs
arsenic
beautifulsoup4
colorama
fake-useragent
httpx
requests
rich
structlog
urllib3
uvloop
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "subprober" ];
meta = with lib; {
description = "Subdomain scanning tool";
homepage = "https://github.com/RevoltSecurities/SubProber";
changelog = "https://github.com/RevoltSecurities/SubProber/releases/tag/v${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "subprober";
};
}