mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
28 lines
673 B
Nix
28 lines
673 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ingress2gateway";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kubernetes-sigs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-xAoJREGktbSNGYdrmPuYG2G+xaQ+kReSSA1JBgWaPVY=";
|
|
};
|
|
|
|
vendorHash = "sha256-T6I8uYUaubcc1dfDu6PbQ9bDDLqGuLGXWnCZhdvkycE=";
|
|
|
|
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";
|
|
};
|
|
}
|