25 lines
788 B
Nix
25 lines
788 B
Nix
|
{ lib
|
||
|
, mkPulumiPackage
|
||
|
}:
|
||
|
mkPulumiPackage rec {
|
||
|
owner = "pulumi";
|
||
|
repo = "pulumi-random";
|
||
|
version = "4.14.0";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-1MR7zWNBDbAUoRed7IU80PQxeH18x95MKJKejW5m2Rs=";
|
||
|
vendorHash = "sha256-YDuF89F9+pxVq4TNe5l3JlbcqpnJwSTPAP4TwWTriWA=";
|
||
|
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 = "Pulumi provider that safely enables randomness for resources";
|
||
|
mainProgram = "pulumi-resource-random";
|
||
|
homepage = "https://github.com/pulumi/pulumi-random";
|
||
|
license = licenses.asl20;
|
||
|
maintainers = with maintainers; [ veehaitch trundle ];
|
||
|
};
|
||
|
}
|