Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.2 KiB
Nix
57 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "graphinder";
|
|
version = "2.0.0b4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Escape-Technologies";
|
|
repo = "graphinder";
|
|
tag = "v${version}";
|
|
hash = "sha256-emBWhEJxYRAw3WTd8t+lurnHX8SeCcLBHGH9B+Owuag=";
|
|
};
|
|
|
|
build-system = with python3.pkgs; [ poetry-core ];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
aiohttp
|
|
beautifulsoup4
|
|
requests
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
|
pytest-asyncio
|
|
pytest-mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"graphinder"
|
|
];
|
|
|
|
disabledTests = [
|
|
# Tests require network access
|
|
"test_domain_class"
|
|
"test_extract_file_zip"
|
|
"test_fetch_assets"
|
|
"test_full_run"
|
|
"test_init_domain_tasks"
|
|
"test_is_gql_endpoint"
|
|
];
|
|
|
|
meta = {
|
|
description = "Tool to find GraphQL endpoints using subdomain enumeration";
|
|
homepage = "https://github.com/Escape-Technologies/graphinder";
|
|
changelog = "https://github.com/Escape-Technologies/graphinder/releases/tag/${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "graphinder";
|
|
};
|
|
}
|