1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/cluster/kubeval/default.nix

26 lines
703 B
Nix
Raw Normal View History

2020-03-21 10:33:00 +00:00
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
2018-10-02 23:56:42 +01:00
2019-12-03 11:28:36 +00:00
buildGoModule rec {
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-21 10:33:00 +00:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
2018-10-02 23:56:42 +01:00
description = "Validate your Kubernetes configuration files";
2019-12-03 11:28:36 +00: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;
};
}