nixpkgs-suyu/pkgs/applications/networking/cluster/kubeval/default.nix

25 lines
633 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, buildGoModule, makeWrapper }:
2018-10-03 00:56:42 +02:00
2019-12-03 12:28:36 +01:00
buildGoModule rec {
pname = "kubeval";
version = "0.15.0";
2018-10-03 00:56:42 +02:00
src = fetchFromGitHub {
2019-12-03 12:28:36 +01:00
owner = "instrumenta";
2018-10-03 00:56:42 +02:00
repo = "kubeval";
rev = version;
sha256 = "05li0qv4q7fy2lr50r6c1r8dhx00jb1g01qmgc72a9zqp378yiq0";
2018-10-03 00:56:42 +02:00
};
vendorSha256 = "1kpwvi84i3h1yjprd6m6hn8l9j235931871y3qk9cl0g8q0hv9ja";
2019-12-03 12:28:36 +01:00
doCheck = false;
meta = with lib; {
2018-10-03 00:56:42 +02:00
description = "Validate your Kubernetes configuration files";
homepage = "https://github.com/instrumenta/kubeval";
2018-10-03 00:56:42 +02:00
license = licenses.asl20;
maintainers = with maintainers; [ johanot nicknovitski ];
2018-10-03 00:56:42 +02:00
};
}