nixpkgs/pkgs/tools/admin/pulumi-packages/pulumi-random.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

25 lines
790 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 = "A 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 ];
};
}