depot/third_party/nixpkgs/pkgs/tools/admin/pulumi-packages/pulumi-random.nix

24 lines
745 B
Nix
Raw Normal View History

{ lib
, mkPulumiPackage
}:
mkPulumiPackage rec {
owner = "pulumi";
repo = "pulumi-random";
version = "4.8.2";
rev = "v${version}";
hash = "sha256-tFEtBgNpl8090RuVMEkyGmdfpZK8wvOD4iog1JRq+GY=";
vendorHash = "sha256-H3mpKxb1lt+du3KterYPV6WWs1D0XXlmemMyMiZBnqs=";
cmdGen = "pulumi-tfgen-random";
cmdRes = "pulumi-resource-random";
extraLdflags = [
"-X github.com/pulumi/${repo}/provider/v4/pkg/version.Version=v${version}"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "A Pulumi provider that safely enables randomness for resources";
homepage = "https://github.com/pulumi/pulumi-random";
license = licenses.asl20;
maintainers = with maintainers; [ veehaitch trundle ];
};
}