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

24 lines
646 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, buildGoModule, makeWrapper }:
2018-10-02 23:56:42 +01:00
2019-12-03 11:28:36 +00:00
buildGoModule rec {
pname = "kubeval";
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}";
sha256 = "05li0qv4q7fy2lr50r6c1r8dhx00jb1g01qmgc72a9zqp378yiq0";
2018-10-02 23:56:42 +01:00
};
2019-12-03 11:28:36 +00:00
modSha256 = "0y9x44y3bchi8xg0a6jmp2rmi8dybkl6qlywb6nj1viab1s8dd4y";
meta = with lib; {
2018-10-02 23:56:42 +01:00
description = "Validate your Kubernetes configuration files";
homepage = "https://github.com/instrumenta/kubeval";
2018-10-02 23:56:42 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ johanot nicknovitski ];
2018-10-02 23:56:42 +01:00
platforms = platforms.all;
};
}