nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ fetchFromGitHub }:
2# To cache schema as a package so network calls are not
3# necessary at runtime, allowing use in package builds you can use the following:
4
5# KUBEVAL_SCHEMA_LOCATION="file:///${kubeval-schema}";
6(fetchFromGitHub {
7 name = "kubeval-schema";
8 owner = "instrumenta";
9 repo = "kubernetes-json-schema";
10 rev = "6a498a60dc68c5f6a1cc248f94b5cd1e7241d699";
11 sha256 = "1y9m2ma3n4h7sf2lg788vjw6pkfyi0fa7gzc870faqv326n6x2jr";
12})
13// {
14 # the schema is huge (> 7GB), we don't get any benefit from building int on hydra
15 meta.hydraPlatforms = [ ];
16}