Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / fo / forbidden / package.nix
blob57c1aa9fa7ec1c780667a329c51337ba79125f15
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "forbidden";
8   version = "11.2";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "ivan-sincek";
13     repo = "forbidden";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-XRN5zQgyBbMxDKAutW3XNIAbBVdAeXZtxsNbmjLyKRc=";
16   };
18   build-system = with python3.pkgs; [
19     setuptools
20   ];
22   dependencies = with python3.pkgs; [
23     colorama
24     datetime
25     pycurl
26     pyjwt
27     regex
28     requests
29     tabulate
30     termcolor
31   ];
33   pythonImportsCheck = [
34     "forbidden"
35   ];
37   meta = with lib; {
38     description = "Tool to bypass 4xx HTTP response status code";
39     homepage = "https://github.com/ivan-sincek/forbidden";
40     changelog = "https://github.com/ivan-sincek/forbidden/releases/tag/v${version}";
41     license = licenses.mit;
42     maintainers = with maintainers; [ fab ];
43     mainProgram = "forbidden";
44   };