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

24 lines
649 B
Nix
Raw Normal View History

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