depot/third_party/nixpkgs/pkgs/development/python-modules/pulumi-aws/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

49 lines
997 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
parver,
pulumi,
pythonOlder,
semver,
setuptools,
}:
buildPythonPackage rec {
pname = "pulumi-aws";
# Version is independant of pulumi's.
version = "6.41.0";
pyproject = true;
build-system = [ setuptools ];
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pulumi";
repo = "pulumi-aws";
rev = "refs/tags/v${version}";
hash = "sha256-7l+m4ULDGa15QNu6l2kURQznKP2Ut9Y1P9njV7s9nzc=";
};
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; [ ];
};
}