streamlink: 7.1.1 -> 7.1.2 (#373269)
[NixPkgs.git] / pkgs / by-name / ga / gato / package.nix
blobfb1737ac2306349232178f2e4d8772a27e240c93
2   lib,
3   python3,
4   git,
5   fetchFromGitHub,
6 }:
8 python3.pkgs.buildPythonApplication rec {
9   pname = "gato";
10   version = "1.6";
11   pyproject = true;
13   src = fetchFromGitHub {
14     owner = "praetorian-inc";
15     repo = "gato";
16     tag = version;
17     hash = "sha256-vXQFgP0KDWo1VWe7tMGCB2yEYlr/1KMXsiNupBVLBqc=";
18   };
20   nativeBuildInputs = with python3.pkgs; [
21     setuptools
22     wheel
23   ];
25   propagatedBuildInputs = with python3.pkgs; [
26     colorama
27     cryptography
28     packaging
29     pyyaml
30     requests
31   ];
33   nativeCheckInputs = with python3.pkgs; [
34     git
35     pytest-cov-stub
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [
40     "gato"
41   ];
43   meta = with lib; {
44     description = "GitHub Self-Hosted Runner Enumeration and Attack Tool";
45     homepage = "https://github.com/praetorian-inc/gato";
46     changelog = "https://github.com/praetorian-inc/gato/releases/tag/${version}";
47     license = licenses.asl20;
48     maintainers = with maintainers; [ fab ];
49     mainProgram = "gato";
50   };