ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / by-name / fo / forbidden / package.nix
blob783f6a3737a04409f875637d9670eafd11041ad6
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "forbidden";
9   version = "12.6";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "ivan-sincek";
14     repo = "forbidden";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-KE2FHn0ocAna5ReRi9re/u8gdNVkCygSbSRj8gEudgI=";
17   };
19   build-system = with python3.pkgs; [
20     setuptools
21   ];
23   dependencies = with python3.pkgs; [
24     alive-progress
25     colorama
26     pycurl
27     pyjwt
28     regex
29     requests
30     tabulate
31     termcolor
32   ];
34   pythonImportsCheck = [
35     "forbidden"
36   ];
38   meta = with lib; {
39     description = "Tool to bypass 4xx HTTP response status code";
40     homepage = "https://github.com/ivan-sincek/forbidden";
41     changelog = "https://github.com/ivan-sincek/forbidden/releases/tag/v${version}";
42     license = licenses.mit;
43     maintainers = with maintainers; [ fab ];
44     mainProgram = "forbidden";
45   };