about summary refs log tree commit diff
path: root/pkgs/tools/security/ghauri/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-06-07 12:01:27 +0000
committerGitHub <noreply@github.com>2024-06-07 12:01:27 +0000
commitecc75d299d08de8552a1f4e3e8cc3e5c8764adbe (patch)
treeda28882a583da38c61c522832a729ea4f646b549 /pkgs/tools/security/ghauri/default.nix
parent5aa86ae5585cd46299ee46682fda8a9b76baf2ae (diff)
parentdfec583872cf7ae087a5ff8659e6480798f16ba9 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/security/ghauri/default.nix')
-rw-r--r--pkgs/tools/security/ghauri/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/tools/security/ghauri/default.nix b/pkgs/tools/security/ghauri/default.nix
index fc7cfd2bb1e15..426cb66b7e6f1 100644
--- a/pkgs/tools/security/ghauri/default.nix
+++ b/pkgs/tools/security/ghauri/default.nix
@@ -5,17 +5,21 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "ghauri";
-  version = "1.3.2";
-  format = "setuptools";
+  version = "1.3.4";
+  pyproject = true;
 
   src = fetchFromGitHub {
     owner = "r0oth3x49";
     repo = "ghauri";
     rev = "refs/tags/${version}";
-    hash = "sha256-zd+Uf2t8yBWi07+BJYYYQ+4fIissuBdXjj877ul4gAQ=";
+    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";
   };
 }