2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "forbidden";
|
2024-10-09 16:51:18 +00:00
|
|
|
version = "12.6";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ivan-sincek";
|
|
|
|
repo = "forbidden";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-10-09 16:51:18 +00:00
|
|
|
hash = "sha256-KE2FHn0ocAna5ReRi9re/u8gdNVkCygSbSRj8gEudgI=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
build-system = with python3.pkgs; [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = with python3.pkgs; [
|
2024-09-26 11:04:55 +00:00
|
|
|
alive-progress
|
2024-04-21 15:54:59 +00:00
|
|
|
colorama
|
|
|
|
pycurl
|
|
|
|
pyjwt
|
|
|
|
regex
|
|
|
|
requests
|
|
|
|
tabulate
|
|
|
|
termcolor
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"forbidden"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to bypass 4xx HTTP response status code";
|
|
|
|
homepage = "https://github.com/ivan-sincek/forbidden";
|
|
|
|
changelog = "https://github.com/ivan-sincek/forbidden/releases/tag/v${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
mainProgram = "forbidden";
|
|
|
|
};
|
|
|
|
}
|