Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 python3, 4 fetchFromGitHub, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "subprober"; 9 version = "1.0.9"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "RevoltSecurities"; 14 repo = "SubProber"; 15 tag = "v${version}"; 16 hash = "sha256-CxmePd1dw9H/XLQZ16JMF1pdFFOI59Qa2knTnKKzFvM="; 17 }; 18 19 build-system = with python3.pkgs; [ setuptools ]; 20 21 dependencies = with python3.pkgs; [ 22 aiodns 23 aiofiles 24 aiohttp 25 alive-progress 26 anyio 27 appdirs 28 arsenic 29 beautifulsoup4 30 colorama 31 fake-useragent 32 httpx 33 requests 34 rich 35 structlog 36 urllib3 37 uvloop 38 ]; 39 40 # Project has no tests 41 doCheck = false; 42 43 pythonImportsCheck = [ "subprober" ]; 44 45 meta = { 46 description = "Subdomain scanning tool"; 47 homepage = "https://github.com/RevoltSecurities/SubProber"; 48 changelog = "https://github.com/RevoltSecurities/SubProber/releases/tag/v${version}"; 49 license = lib.licenses.gpl3Only; 50 maintainers = with lib.maintainers; [ fab ]; 51 mainProgram = "subprober"; 52 }; 53}