mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
forbidden: init at 10.8
Tool to bypass 4xx HTTP response status code https://github.com/ivan-sincek/forbidden
This commit is contained in:
parent
b0c93fc5a3
commit
67c1888832
51
pkgs/by-name/fo/forbidden/package.nix
Normal file
51
pkgs/by-name/fo/forbidden/package.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "forbidden";
|
||||
version = "10.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ivan-sincek";
|
||||
repo = "forbidden";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-jitmgN+We6m5CTgRc1NYwZkg5GYvD6ZlJ8FKtTa+rAY=";
|
||||
};
|
||||
|
||||
pythonRemoveDeps = [
|
||||
# https://github.com/ivan-sincek/forbidden/pull/3
|
||||
"argparse"
|
||||
];
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
pythonRelaxDepsHook
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user