about summary refs log tree commit diff
path: root/pkgs/tools/admin/pulumi-packages/pulumi-yandex-unofficial.nix
blob: 52079fbda066e65a3babfc555d15574e255a26d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, mkPulumiPackage
}:
# Note that we are not using https://github.com/pulumi/pulumi-yandex because
# it has been archived in 2022.
mkPulumiPackage rec {
  owner = "Regrau";
  repo = "pulumi-yandex";
  version = "0.98.0";
  rev = "v${version}";
  hash = "sha256-Olwl4JNrJUiJaGha7ZT0Qb0+6hRKxOOy06eKMJfYf0I=";
  vendorHash = "sha256-8mu0msSq59f5GZNo7YIGuNTYealGyEL9kwk0jCcSO68=";
  cmdGen = "pulumi-tfgen-yandex";
  cmdRes = "pulumi-resource-yandex";
  extraLdflags = [
    "-X github.com/regrau/${repo}/provider/pkg/version.Version=v${version}"
  ];
  __darwinAllowLocalNetworking = true;
  env.GOWORK = "off";
  meta = with lib; {
    description = "Unofficial Yandex Cloud Resource Provider";
    homepage = "https://github.com/Regrau/pulumi-yandex";
    license = licenses.asl20;
    maintainers = with maintainers; [ tie veehaitch trundle ];
    mainProgram = cmdRes;
  };
}