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";
|
2020-05-07 08:10:35 +01:00
|
|
|
version = "0.15.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}";
|
2020-05-07 08:10:35 +01:00
|
|
|
sha256 = "05li0qv4q7fy2lr50r6c1r8dhx00jb1g01qmgc72a9zqp378yiq0";
|
2018-10-02 23:56:42 +01:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "1kpwvi84i3h1yjprd6m6hn8l9j235931871y3qk9cl0g8q0hv9ja";
|
2019-12-03 11:28:36 +00:00
|
|
|
|
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
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|