1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-22 18:21:58 +01:00
github.com-tboerger-nixos-c.../overlays/kubectl-outdated/default.nix
2024-07-17 16:05:33 +02:00

30 lines
735 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-outdated";
version = "0.4.1";
src = fetchFromGitHub {
owner = "replicatedhq";
repo = "outdated";
rev = "v${version}";
sha256 = "sha256-01rQAGSoAD/lMHSth4FvYXnvpW2zyXGQNKq70HQKPFU=";
};
vendorHash = "sha256-EbLIsOqg4uQB6ER/H05zaFC6sTxCPIQUZUhRgW1i9KQ=";
doCheck = false;
subPackages = [ "cmd/outdated" ];
postInstall = ''
mv $out/bin/outdated $out/bin/kubectl-outdated
'';
meta = with lib; {
description = "A kubectl plugin to find and report outdated images";
homepage = "https://github.com/replicatedhq/outdated/";
license = licenses.asl20;
maintainers = with maintainers; [ tboerger ];
};
}