graphinder: modernize

This commit is contained in:
Fabian Affolter
2025-08-26 12:13:07 +02:00
committed by Fabian Affolter
parent b69895b85d
commit 46ee0092ae
+6 -8
View File
@@ -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";
};
}