depot/third_party/nixpkgs/pkgs/tools/security/ghauri/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

44 lines
911 B
Nix

{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "ghauri";
version = "1.3.4";
pyproject = true;
src = fetchFromGitHub {
owner = "r0oth3x49";
repo = "ghauri";
rev = "refs/tags/${version}";
hash = "sha256-1xrswAxavUz3ybmT0E00pjiR8pmHvuBXE4zhAPnz5MQ=";
};
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
chardet
colorama
requests
tldextract
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"ghauri"
];
meta = with lib; {
description = "Tool for detecting and exploiting SQL injection security flaws";
homepage = "https://github.com/r0oth3x49/ghauri";
changelog = "https://github.com/r0oth3x49/ghauri/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "ghauri";
};
}