9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
32 lines
755 B
Nix
32 lines
755 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubepug";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rikatz";
|
|
repo = "kubepug";
|
|
rev = "v${version}";
|
|
hash = "sha256-/VkJSZdiU93+GnLxIPPE2ewlm52tp7Wqry0TvjyeqhI=";
|
|
};
|
|
|
|
vendorHash = "sha256-fPyXOMJ0rRssGzOca54A5l8ZWixOC58Xtb3SOYSibCo=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X sigs.k8s.io/release-utils/version.gitVersion=${version}"
|
|
];
|
|
|
|
patches = [
|
|
./skip-external-network-tests.patch
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Checks a Kubernetes cluster for objects using deprecated API versions";
|
|
homepage = "https://github.com/rikatz/kubepug";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ mausch ];
|
|
};
|
|
}
|