diff --git a/pkgs/by-name/gr/graphinder/package.nix b/pkgs/by-name/gr/graphinder/package.nix index a770ed13a6ae..ccd8c52df735 100644 --- a/pkgs/by-name/gr/graphinder/package.nix +++ b/pkgs/by-name/gr/graphinder/package.nix @@ -7,7 +7,7 @@ python3.pkgs.buildPythonApplication rec { pname = "graphinder"; version = "2.0.0b4"; - format = "pyproject"; + pyproject = true; src = fetchFromGitHub { owner = "Escape-Technologies"; @@ -16,11 +16,9 @@ python3.pkgs.buildPythonApplication rec { 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"; }; }