Unverified Commit a592354e authored by Alberto Fanton's avatar Alberto Fanton
Browse files

python312Packages.pulumi-hcloud: init at 1.20.4

parent e43b7b60
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };