2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, 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";
|
2019-12-03 11:28:36 +00:00
|
|
|
version = "0.14.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";
|
2019-12-03 11:28:36 +00:00
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0kpwk7bv36m3i8vavm1pqc8l611c6l9qbagcc64v6r85qig4w5xv";
|
2018-10-02 23:56:42 +01:00
|
|
|
};
|
|
|
|
|
2019-12-03 11:28:36 +00:00
|
|
|
modSha256 = "0y9x44y3bchi8xg0a6jmp2rmi8dybkl6qlywb6nj1viab1s8dd4y";
|
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers; [ nicknovitski ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|