555cd8a8f9
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
48 lines
991 B
Nix
48 lines
991 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|