nixpkgs/pkgs/applications/networking/cluster/assign-lb-ip/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
646 B
Nix
Raw Normal View History

2021-07-22 18:25:44 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "assign-lb-ip";
2022-04-11 01:55:30 +00:00
version = "2.3.1";
2021-07-22 18:25:44 +00:00
src = fetchFromGitHub {
owner = "Nordix";
repo = pname;
rev = "v${version}";
2022-04-11 01:55:30 +00:00
sha256 = "sha256-Sfi58wcX61HNCmlDoparTqnfsuxu6barSnV0uYlC+ng=";
2021-07-22 18:25:44 +00:00
};
vendorHash = "sha256-N78a0pjs2Bg2Bslk/I0ntL88ui4IkRGenL0Pn17Lt/w=";
2021-07-22 18:25:44 +00:00
meta = with lib; {
description = "Assigns loadBalancerIP address to a Kubernetes service for testing purposes";
mainProgram = "assign-lb-ip";
2021-07-22 18:25:44 +00:00
homepage = "https://github.com/Nordix/assign-lb-ip";
license = licenses.asl20;
maintainers = [ maintainers.starcraft66 ];
};
}