5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
49 lines
972 B
Nix
49 lines
972 B
Nix
{ lib
|
|
, stdenv
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, fetchpatch
|
|
, parver
|
|
, pulumi
|
|
, pythonOlder
|
|
, semver
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pulumi-aws";
|
|
# Version is independant of pulumi's.
|
|
version = "6.1.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pulumi";
|
|
repo = "pulumi-aws";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-W3gfHCbScAZ/j6gNzrPwhcmrYoTXi+0BuSEzjOKSo4M=";
|
|
};
|
|
|
|
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 = with maintainers; [ ];
|
|
};
|
|
}
|