889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
49 lines
970 B
Nix
49 lines
970 B
Nix
{ lib
|
|
, stdenv
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, fetchpatch
|
|
, parver
|
|
, pulumi
|
|
, pythonOlder
|
|
, semver
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pulumi-aws";
|
|
# Version is independant of pulumi's.
|
|
version = "5.9.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pulumi";
|
|
repo = "pulumi-aws";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-LYWxdqortazhev73JSTItrEyZZYFmeXkAko/2aFKaSw=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/sdk/python";
|
|
|
|
propagatedBuildInputs = [
|
|
parver
|
|
pulumi
|
|
semver
|
|
];
|
|
|
|
# Checks require cloud resources
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pulumi_aws"
|
|
];
|
|
|
|
meta = with lib; {
|
|
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
|
description = "Pulumi python amazon web services provider";
|
|
homepage = "https://github.com/pulumi/pulumi-aws";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
};
|
|
}
|