Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
894 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "iamdata";
version = "0.1.202510081";
pyproject = true;
src = fetchFromGitHub {
owner = "cloud-copilot";
repo = "iam-data-python";
tag = "v${version}";
hash = "sha256-hN5gHYhylmrOYiMTW+FE8G0CXf2kxKbPGbtQmjd8X7A=";
};
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/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}