depot/pkgs/by-name/fo/forbidden/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

45 lines
923 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "forbidden";
version = "12.6";
pyproject = true;
src = fetchFromGitHub {
owner = "ivan-sincek";
repo = "forbidden";
rev = "refs/tags/v${version}";
hash = "sha256-KE2FHn0ocAna5ReRi9re/u8gdNVkCygSbSRj8gEudgI=";
};
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
alive-progress
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";
};
}