Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, buildPythonPackage 4, fetchFromGitHub 5, fetchpatch 6, parver 7, pulumi 8, pythonOlder 9, semver 10}: 11 12buildPythonPackage rec { 13 pname = "pulumi-aws"; 14 # Version is independant of pulumi's. 15 version = "5.41.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "pulumi"; 22 repo = "pulumi-aws"; 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-axVzystW9kvyMP35h/GCN1Cy1y8CYNxZglWeXVJfWSc="; 25 }; 26 27 sourceRoot = "${src.name}/sdk/python"; 28 29 propagatedBuildInputs = [ 30 parver 31 pulumi 32 semver 33 ]; 34 35 # Checks require cloud resources 36 doCheck = false; 37 38 pythonImportsCheck = [ 39 "pulumi_aws" 40 ]; 41 42 meta = with lib; { 43 description = "Pulumi python amazon web services provider"; 44 homepage = "https://github.com/pulumi/pulumi-aws"; 45 changelog = "https://github.com/pulumi/pulumi-aws/releases/tag/v${version}"; 46 license = licenses.asl20; 47 maintainers = with maintainers; [ costrouc ]; 48 }; 49}