1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "iamdata";
11 version = "0.1.202510021";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "cloud-copilot";
16 repo = "iam-data-python";
17 tag = "v${version}";
18 hash = "sha256-irM3NCm+TtNbHIAsc9Qh8RneJYig/SUJ40jsPy3c07Q=";
19 };
20
21 build-system = [ hatchling ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "iamdata" ];
26
27 enabledTestPaths = [ "iamdata/tests/*.py" ];
28
29 meta = {
30 description = "Module for utilizing AWS IAM data for Services, Actions, Resources, and Condition Keys";
31 homepage = "https://github.com/cloud-copilot/iam-data-python";
32 changelog = "https://github.com/cloud-copilot/iam-data-python/releases/tag/${src.tag}";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ fab ];
35 };
36}