blob: 6eacd4a5f8310d5d663fd1cc5ae790efcbd0480f (
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
38
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "iamdata";
version = "0.1.202601191";
pyproject = true;
src = fetchFromGitHub {
owner = "cloud-copilot";
repo = "iam-data-python";
tag = "v${finalAttrs.version}";
hash = "sha256-fdHOXm+FJcHHSb01z6e01zHQmt0ZRl2/gs9wrtTR468=";
};
__darwinAllowLocalNetworking = true;
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "iamdata" ];
enabledTestPaths = [ "iamdata/tests/*.py" ];
meta = {
description = "Module for utilizing AWS IAM data for Services, Actions, Resources, and Condition Keys";
homepage = "https://github.com/cloud-copilot/iam-data-python";
changelog = "https://github.com/cloud-copilot/iam-data-python/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|