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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
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
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2018-10-02 23:56:42 +01:00
|
|
|
description = "Validate your Kubernetes configuration files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/instrumenta/kubeval";
|
2018-10-02 23:56:42 +01:00
|
|
|
license = licenses.asl20;
|
2020-05-07 08:10:35 +01:00
|
|
|
maintainers = with maintainers; [ johanot nicknovitski ];
|
2018-10-02 23:56:42 +01:00
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|