diff --git a/pkgs/by-name/gr/graphinder/package.nix b/pkgs/by-name/gr/graphinder/package.nix index 04a7dbe29dff..ccd8c52df735 100644 --- a/pkgs/by-name/gr/graphinder/package.nix +++ b/pkgs/by-name/gr/graphinder/package.nix @@ -6,21 +6,19 @@ python3.pkgs.buildPythonApplication rec { pname = "graphinder"; - version = "1.11.6"; - format = "pyproject"; + version = "2.0.0b4"; + pyproject = true; src = fetchFromGitHub { owner = "Escape-Technologies"; repo = "graphinder"; tag = "v${version}"; - hash = "sha256-TDc6aIFkxShlfC6fLYMKULfrFUAYhQZrIHZNDuMh68g="; + hash = "sha256-emBWhEJxYRAw3WTd8t+lurnHX8SeCcLBHGH9B+Owuag="; }; - nativeBuildInputs = with python3.pkgs; [ - poetry-core - ]; + build-system = with python3.pkgs; [ poetry-core ]; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3.pkgs; [ aiohttp beautifulsoup4 requests @@ -49,10 +47,10 @@ python3.pkgs.buildPythonApplication rec { meta = { description = "Tool to find GraphQL endpoints using subdomain enumeration"; - mainProgram = "graphinder"; homepage = "https://github.com/Escape-Technologies/graphinder"; - changelog = "https://github.com/Escape-Technologies/graphinder/releases/tag/v${version}"; - license = with lib.licenses; [ mit ]; + changelog = "https://github.com/Escape-Technologies/graphinder/releases/tag/${src.tag}"; + license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; + mainProgram = "graphinder"; }; }