mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
46 lines
917 B
Nix
46 lines
917 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "forbidden";
|
|
version = "11.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ivan-sincek";
|
|
repo = "forbidden";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-XRN5zQgyBbMxDKAutW3XNIAbBVdAeXZtxsNbmjLyKRc=";
|
|
};
|
|
|
|
build-system = with python3.pkgs; [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
colorama
|
|
datetime
|
|
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";
|
|
};
|
|
}
|