Files
nixpkgs/pkgs/development/python-modules/iamdata/default.nix
T

39 lines
966 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "iamdata";
version = "0.1.202601061";
pyproject = true;
src = fetchFromGitHub {
owner = "cloud-copilot";
repo = "iam-data-python";
tag = "v${finalAttrs.version}";
hash = "sha256-h3+HGFHpmc5nIf/8tFm2xNiismIF3l7Hbzdvz6trvDI=";
};
__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 ];
};
})