nixpkgs/pkgs/development/tools/kubepug/default.nix

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

29 lines
697 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2021-04-11 18:38:45 +03:00
buildGoModule rec {
2021-04-11 18:38:45 +03:00
pname = "kubepug";
2023-11-18 13:57:26 +03:00
version = "1.7.1";
2021-04-11 18:38:45 +03:00
src = fetchFromGitHub {
2023-11-18 13:57:26 +03:00
owner = "kubepug";
2021-04-11 18:38:45 +03:00
repo = "kubepug";
rev = "v${version}";
2023-11-18 13:57:26 +03:00
hash = "sha256-VNxaYQy81U0JWd6KS0jCvMexpyWL4v1cKpjxLRkxBLE=";
2021-04-11 18:38:45 +03:00
};
2023-11-18 13:57:26 +03:00
vendorHash = "sha256-HVsaQBd7fSZp2fOpOOmlDhYrHcHqWKiYWPFLQX0azEw=";
2021-04-11 18:38:45 +03:00
2021-08-26 09:45:51 +03:00
ldflags = [
2023-07-10 05:03:47 +03:00
"-s"
"-w"
"-X sigs.k8s.io/release-utils/version.gitVersion=${version}"
2021-08-26 09:45:51 +03:00
];
2021-04-11 18:38:45 +03:00
meta = with lib; {
description = "Checks a Kubernetes cluster for objects using deprecated API versions";
2023-11-18 13:57:26 +03:00
homepage = "https://github.com/kubepug/kubepug";
2021-04-11 18:38:45 +03:00
license = licenses.asl20;
maintainers = with maintainers; [ mausch ];
};
}