ghauri: refactor

This commit is contained in:
Fabian Affolter 2024-06-07 09:25:15 +02:00 committed by GitHub
parent f51b304e73
commit 5f66165919
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "ghauri";
version = "1.3.4";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "r0oth3x49";
@ -15,7 +15,11 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-1xrswAxavUz3ybmT0E00pjiR8pmHvuBXE4zhAPnz5MQ=";
};
propagatedBuildInputs = with python3.pkgs; [
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
chardet
colorama
requests
@ -31,10 +35,10 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; {
description = "Tool for detecting and exploiting SQL injection security flaws";
mainProgram = "ghauri";
homepage = "https://github.com/r0oth3x49/ghauri";
changelog = "https://github.com/r0oth3x49/ghauri/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "ghauri";
};
}