7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
49 lines
979 B
Nix
49 lines
979 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
parver,
|
|
pulumi,
|
|
pythonOlder,
|
|
semver,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pulumi-aws";
|
|
# Version is independant of pulumi's.
|
|
version = "6.52.0";
|
|
|
|
pyproject = true;
|
|
build-system = [ setuptools ];
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pulumi";
|
|
repo = "pulumi-aws";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-EYDvhgUOWMj2kahzwkg8L43D42YGo2IHrrmKFhMPOb0=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/pulumi/pulumi-aws/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|