2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
parver,
|
|
|
|
pulumi,
|
|
|
|
pythonOlder,
|
|
|
|
semver,
|
|
|
|
setuptools,
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pulumi-aws";
|
|
|
|
# Version is independant of pulumi's.
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "6.52.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pyproject = true;
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pulumi";
|
|
|
|
repo = "pulumi-aws";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-EYDvhgUOWMj2kahzwkg8L43D42YGo2IHrrmKFhMPOb0=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "${src.name}/sdk/python";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
parver
|
|
|
|
pulumi
|
|
|
|
semver
|
|
|
|
];
|
|
|
|
|
|
|
|
# Checks require cloud resources
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "pulumi_aws" ];
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pulumi python amazon web services provider";
|
|
|
|
homepage = "https://github.com/pulumi/pulumi-aws";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/pulumi/pulumi-aws/releases/tag/v${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
license = licenses.asl20;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|