nixpkgs/pkgs/tools/security/ghauri/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
864 B
Nix
Raw Normal View History

2023-03-22 21:09:13 +01:00
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "ghauri";
2024-01-22 21:25:52 +01:00
version = "1.3";
2023-03-22 21:09:13 +01:00
format = "setuptools";
src = fetchFromGitHub {
owner = "r0oth3x49";
repo = "ghauri";
2023-04-29 01:13:30 +02:00
rev = "refs/tags/${version}";
2024-01-22 21:25:52 +01:00
hash = "sha256-CZhkb8GmXXSA5QqhW7IAirwsxQg6YNFT3RHrGsyqAbk=";
2023-03-22 21:09:13 +01:00
};
propagatedBuildInputs = 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";
mainProgram = "ghauri";
2023-03-22 21:09:13 +01:00
homepage = "https://github.com/r0oth3x49/ghauri";
changelog = "https://github.com/r0oth3x49/ghauri/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}