python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / kubepug / default.nix
blob355e6214478814e733d8f7c5a7f2354696e55097
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "kubepug";
5   version = "1.4.0";
7   src = fetchFromGitHub {
8     owner = "rikatz";
9     repo = "kubepug";
10     rev = "v${version}";
11     sha256 = "sha256-ySGNEs9PwkpjcLaCZ9M6ewE0/PRdwDksJMJ2GZUUrng=";
12   };
14   vendorSha256 = "sha256-faco4/6ldZiD2pkvjFgWDHbpCcNA4dGXxVhuO3PK77k=";
16   ldflags = [
17     "-s" "-w" "-X=github.com/rikatz/kubepug/version.Version=${src.rev}"
18   ];
20   patches = [
21     ./skip-external-network-tests.patch
22   ];
24   meta = with lib; {
25     description = "Checks a Kubernetes cluster for objects using deprecated API versions";
26     homepage = "https://github.com/rikatz/kubepug";
27     license = licenses.asl20;
28     maintainers = with maintainers; [ mausch ];
29   };