From b69895b85d138dc380dc1f671c3d7711f160d1cc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 23 Aug 2025 03:18:04 +0000 Subject: [PATCH 1/2] graphinder: 1.11.6 -> 2.0.0b4 --- pkgs/by-name/gr/graphinder/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gr/graphinder/package.nix b/pkgs/by-name/gr/graphinder/package.nix index 04a7dbe29dff..a770ed13a6ae 100644 --- a/pkgs/by-name/gr/graphinder/package.nix +++ b/pkgs/by-name/gr/graphinder/package.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "graphinder"; - version = "1.11.6"; + version = "2.0.0b4"; format = "pyproject"; src = fetchFromGitHub { owner = "Escape-Technologies"; repo = "graphinder"; tag = "v${version}"; - hash = "sha256-TDc6aIFkxShlfC6fLYMKULfrFUAYhQZrIHZNDuMh68g="; + hash = "sha256-emBWhEJxYRAw3WTd8t+lurnHX8SeCcLBHGH9B+Owuag="; }; nativeBuildInputs = with python3.pkgs; [ From 46ee0092aef4d84e28f28d7d964a5d0423e1fbf0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 24 Aug 2025 09:48:01 +0200 Subject: [PATCH 2/2] graphinder: modernize --- pkgs/by-name/gr/graphinder/package.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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"; }; }