about summary refs log tree commit diff
path: root/pkgs/tools/security/inql/default.nix
blob: 97781e42d5f1782ae5caad2c4fc469f64c612d43 (plain) (blame)
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
{ lib
, fetchFromGitHub
, python3
}:

python3.pkgs.buildPythonApplication rec {
  pname = "inql";
  version = "4.0.6";

  src = fetchFromGitHub {
    owner = "doyensec";
    repo = pname;
    rev = "refs/tags/v${version}";
    sha256 = "sha256-DFGJHqdrCmOZn8GdY5SZ1PrOhuIsMLoK+2Fry9WkRiY=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    stickytape
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "inql"
  ];

  meta = with lib; {
    description = "Security testing tool for GraphQL";
    homepage = "https://github.com/doyensec/inql";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
  };
}