blob: e4921d9a9806b9cc28b9646baacad0012d1f8d90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "forbidden";
version = "13.4";
pyproject = true;
src = fetchFromGitHub {
owner = "ivan-sincek";
repo = "forbidden";
tag = "v${finalAttrs.version}";
hash = "sha256-eOf74JWDzYz73axY9+6bRcSfJAdHMh3H4+cuUojSU4A=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
alive-progress
bot-safe-agents
colorama
cryptography
pycurl
pyjwt
regex
requests
tabulate
termcolor
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "forbidden" ];
meta = {
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/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "forbidden";
};
})
|