depot/third_party/nixpkgs/pkgs/by-name/in/ingress2gateway/package.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

28 lines
674 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ingress2gateway";
version = "0.2.0";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = pname;
rev = "v${version}";
hash = "sha256-+ImMpO1qRkXYLy+MDloKSoDCmMmJSBorgDjzaeSCBdY=";
};
vendorHash = "sha256-IEU9cfYCkrQagxzJT6jPz2nRCz1BAaiGvkEPhNRQr4E=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Convert Ingress resources to Gateway API resources ";
homepage = "https://github.com/kubernetes-sigs/ingress2gateway";
license = licenses.asl20;
maintainers = with maintainers; [ arikgrahl ];
mainProgram = "ingress2gateway";
};
}