2021-01-25 08:26:54 +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-03-30 15:00:43 +01:00
|
|
|
version = "0.16.0";
|
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";
|
2020-11-01 22:39:49 +00:00
|
|
|
rev = version;
|
2021-03-30 15:00:43 +01:00
|
|
|
sha256 = "sha256-c5UESyWK1rfnD0etOuIroBUSqZQuu57jio7/ArItMP0=";
|
2018-10-02 23:56:42 +01:00
|
|
|
};
|
|
|
|
|
2021-03-30 15:00:43 +01:00
|
|
|
vendorSha256 = "sha256-SqYNAUYPUJYmHj4cFEYqQ8hEkYWmmpav9AGOSFDc/M4=";
|
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
|
|
|
}
|