mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Merge pull request #146431 from flokli/crd2pulumi
crd2pulumi: init at 1.0.10
This commit is contained in:
commit
4b6b6371c9
26
pkgs/development/tools/crd2pulumi/default.nix
Normal file
26
pkgs/development/tools/crd2pulumi/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "crd2pulumi";
|
||||
version = "1.0.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pulumi";
|
||||
repo = "crd2pulumi";
|
||||
rev = "v${version}";
|
||||
sha256 = "1xzr63brzqysvhm3fqj246c7s84kchpcm6wad3mvxcxjcab6xd1f";
|
||||
};
|
||||
|
||||
vendorSha256 = "0xi5va2fy4nrxp3qgyzcw20a2089sbz8h1hvqx2ryxijr61wd93d";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -4323,6 +4323,8 @@ with pkgs;
|
|||
|
||||
crackxls = callPackage ../tools/security/crackxls { };
|
||||
|
||||
crd2pulumi = callPackage ../development/tools/crd2pulumi { };
|
||||
|
||||
create-cycle-app = nodePackages.create-cycle-app;
|
||||
|
||||
createrepo_c = callPackage ../tools/package-management/createrepo_c { };
|
||||
|
|
Loading…
Reference in a new issue