472aeafc57
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
27 lines
750 B
Nix
27 lines
750 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "crd2pulumi";
|
|
version = "1.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pulumi";
|
|
repo = "crd2pulumi";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-wIg14U3CNuO7PbhOkaZMfzXhjnMWiddQKiDzgD493iY=";
|
|
};
|
|
|
|
vendorHash = "sha256-tSQuyGo4YaqKp5C9V/tEobc/4+x5ExPbV3Y4nd8D8jE=";
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/pulumi/crd2pulumi/gen.Version=${src.rev}" ];
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "Generate typed CustomResources from a Kubernetes CustomResourceDefinition";
|
|
mainProgram = "crd2pulumi";
|
|
homepage = "https://github.com/pulumi/crd2pulumi";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ flokli ];
|
|
};
|
|
}
|