mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-09 23:33:34 +00:00
40 lines
836 B
Nix
40 lines
836 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "ghauri";
|
|
version = "1.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "r0oth3x49";
|
|
repo = "ghauri";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-CZhkb8GmXXSA5QqhW7IAirwsxQg6YNFT3RHrGsyqAbk=";
|
|
};
|
|
|
|
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";
|
|
homepage = "https://github.com/r0oth3x49/ghauri";
|
|
changelog = "https://github.com/r0oth3x49/ghauri/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|