2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
, parver
|
|
|
|
, pulumi
|
|
|
|
, pythonOlder
|
|
|
|
, semver
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pulumi-aws";
|
|
|
|
# Version is independant of pulumi's.
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "6.25.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pulumi";
|
|
|
|
repo = "pulumi-aws";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-RtJIl90rTMFv4mLrDd2SxLYYLf0yKS//7+sxVBdNX8g=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "${src.name}/sdk/python";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
parver
|
|
|
|
pulumi
|
|
|
|
semver
|
|
|
|
];
|
|
|
|
|
|
|
|
# Checks require cloud resources
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"pulumi_aws"
|
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|