diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 0261645fcccd..3a1645c55170 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -905,6 +905,18 @@ githubId = 217050; name = "Albert Chae"; }; + albertodvp = { + email = "alberto.fanton@protonmail.com"; + github = "albertodvp"; + githubId = 16022854; + matrix = "@albertodvp:matrix.org"; + name = "Alberto Fanton"; + keys = [ + { + fingerprint = "63FD 3A4F 4832 946C B808 8E3C C852 4052 69E7 A087"; + } + ]; + }; aldoborrero = { email = "aldoborrero+nixos@pm.me"; github = "aldoborrero"; diff --git a/pkgs/development/python-modules/pulumi-hcloud/default.nix b/pkgs/development/python-modules/pulumi-hcloud/default.nix new file mode 100644 index 000000000000..315bc20c8873 --- /dev/null +++ b/pkgs/development/python-modules/pulumi-hcloud/default.nix @@ -0,0 +1,48 @@ +{ + buildPythonPackage, + fetchFromGitHub, + lib, + parver, + pulumi, + pythonOlder, + semver, + setuptools, +}: + +buildPythonPackage rec { + pname = "pulumi-hcloud"; + version = "1.20.4"; + + pyproject = true; + build-system = [ setuptools ]; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "pulumi"; + repo = "pulumi-hcloud"; + rev = "refs/tags/v${version}"; + hash = "sha256-m9MRXDTSC0K1raoH9gKPuxdwvUEnZ/ulp32xlY1Hsdo="; + }; + + sourceRoot = "${src.name}/sdk/python"; + + # The upstream repository does not contain tests + doCheck = false; + + dependencies = [ + parver + pulumi + semver + ]; + + pythonImportsCheck = [ "pulumi_hcloud" ]; + + meta = with lib; { + description = "Pulumi python hetzner web services provider"; + homepage = "https://github.com/pulumi/pulumi-hcloud"; + changelog = "https://github.com/pulumi/pulumi-hcloud/releases/tag/v${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ albertodvp ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d454a3644699..f98d9e77d0e9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1412,6 +1412,8 @@ self: super: with self; { pulumi-command = pkgs.pulumiPackages.pulumi-command.sdks.python; + pulumi-hcloud = callPackage ../development/python-modules/pulumi-hcloud { }; + pulumi-random = pkgs.pulumiPackages.pulumi-random.sdks.python; backcall = callPackage ../development/python-modules/backcall { };