3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/kubeval/default.nix

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

29 lines
632 B
Nix
Raw Normal View History

2021-12-01 12:08:02 +00:00
{ lib
, fetchFromGitHub
, buildGoModule
, makeWrapper
}:
2018-10-02 23:56:42 +01:00
2019-12-03 11:28:36 +00:00
buildGoModule rec {
pname = "kubeval";
2021-12-01 12:08:02 +00:00
version = "0.16.1";
2018-10-02 23:56:42 +01:00
src = fetchFromGitHub {
2019-12-03 11:28:36 +00:00
owner = "instrumenta";
2018-10-02 23:56:42 +01:00
repo = "kubeval";
2021-12-01 12:08:02 +00:00
rev = "v${version}";
sha256 = "sha256-pwJOV7V78H2XaMiiJvKMcx0dEwNDrhgFHmCRLAwMirg=";
2018-10-02 23:56:42 +01:00
};
2021-12-01 12:08:02 +00:00
vendorSha256 = "sha256-OAFxEb7IWhyRBEi8vgmekDSL/YpmD4EmUfildRaPR24=";
2019-12-03 11:28:36 +00:00
doCheck = false;
meta = with lib; {
2018-10-02 23:56:42 +01:00
description = "Validate your Kubernetes configuration files";
homepage = "https://github.com/instrumenta/kubeval";
2018-10-02 23:56:42 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ johanot nicknovitski ];
2018-10-02 23:56:42 +01:00
};
}