87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
26 lines
718 B
Nix
26 lines
718 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "crd2pulumi";
|
|
version = "1.2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pulumi";
|
|
repo = "crd2pulumi";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-2Lr6TMTZLxBisb8IZNIib4rQEvxj9KmljSQ5JGoeTEw=";
|
|
};
|
|
|
|
vendorHash = "sha256-iWFZ20U4S2utIqhoXgLtT4pp5e9h8IpbveIKHPe0AAw=";
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/pulumi/crd2pulumi/gen.Version=${src.rev}" ];
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "Generate typed CustomResources from a Kubernetes CustomResourceDefinition";
|
|
homepage = "https://github.com/pulumi/crd2pulumi";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ flokli ];
|
|
};
|
|
}
|