vifm: 0.13 -> 0.14 (#380559)
[NixPkgs.git] / pkgs / by-name / gr / graphinder / package.nix
blob432012cdec27710b3af754845d7a2606bcb4ee8a
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "graphinder";
9   version = "1.11.6";
10   format = "pyproject";
12   src = fetchFromGitHub {
13     owner = "Escape-Technologies";
14     repo = pname;
15     tag = "v${version}";
16     hash = "sha256-TDc6aIFkxShlfC6fLYMKULfrFUAYhQZrIHZNDuMh68g=";
17   };
19   nativeBuildInputs = with python3.pkgs; [
20     poetry-core
21   ];
23   propagatedBuildInputs = with python3.pkgs; [
24     aiohttp
25     beautifulsoup4
26     requests
27     setuptools
28   ];
30   nativeCheckInputs = with python3.pkgs; [
31     pytest-asyncio
32     pytest-mock
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [
37     "graphinder"
38   ];
40   disabledTests = [
41     # Tests require network access
42     "test_domain_class"
43     "test_extract_file_zip"
44     "test_fetch_assets"
45     "test_full_run"
46     "test_init_domain_tasks"
47     "test_is_gql_endpoint"
48   ];
50   meta = with lib; {
51     description = "Tool to find GraphQL endpoints using subdomain enumeration";
52     mainProgram = "graphinder";
53     homepage = "https://github.com/Escape-Technologies/graphinder";
54     changelog = "https://github.com/Escape-Technologies/graphinder/releases/tag/v${version}";
55     license = with licenses; [ mit ];
56     maintainers = with maintainers; [ fab ];
57   };