summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/py-iam-expand/default.nix
blob: 4b0ee718f0d3a6f5ef50a6d6e2ef0aa2ba71d13e (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  iamdata,
  poetry-core,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "py-iam-expand";
  version = "0.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "prowler-cloud";
    repo = "py-iam-expand";
    tag = version;
    hash = "sha256-P6PWf7qkc/8/BeRycYgvFApIaUrbhKq4h718Nrs817U=";
  };

  build-system = [ poetry-core ];

  dependencies = [ iamdata ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "py_iam_expand" ];

  meta = {
    description = "Module to expand and deobfuscate AWS IAM actions";
    homepage = "https://github.com/prowler-cloud/py-iam-expand";
    changelog = "https://github.com/prowler-cloud/py-iam-expand/releases/tag/${src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}