mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
26 lines
703 B
Nix
26 lines
703 B
Nix
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubeval";
|
|
version = "0.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "instrumenta";
|
|
repo = "kubeval";
|
|
rev = "${version}";
|
|
sha256 = "0kpwk7bv36m3i8vavm1pqc8l611c6l9qbagcc64v6r85qig4w5xv";
|
|
};
|
|
|
|
modSha256 = "0y9x44y3bchi8xg0a6jmp2rmi8dybkl6qlywb6nj1viab1s8dd4y";
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Validate your Kubernetes configuration files";
|
|
homepage = https://github.com/instrumenta/kubeval;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ nicknovitski ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|