mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
kubectl-validate: 0.0.3 -> 0.0.4
This commit is contained in:
parent
4bebab5e98
commit
f8bb2bbe2d
@ -4,7 +4,7 @@
|
||||
, nix-update-script
|
||||
}:
|
||||
let
|
||||
version = "0.0.3";
|
||||
version = "0.0.4";
|
||||
in
|
||||
buildGoModule {
|
||||
inherit version;
|
||||
@ -14,7 +14,7 @@ buildGoModule {
|
||||
owner = "kubernetes-sigs";
|
||||
repo = "kubectl-validate";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-k2+2QIPjNw6C/Do1WhPN39VZhZX4PZ6ZsKDKGJ9E5QA=";
|
||||
hash = "sha256-0r3ffrZSRtSe5CgvocRhoJz0zqUsx9vtABP2h1o9vCw=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
@ -24,6 +24,9 @@ buildGoModule {
|
||||
preBuild = ''
|
||||
mv cmd/download-builtin-schemas/main.go cmd/download-builtin-schemas/_main.go
|
||||
mv pkg/openapiclient/github_builtins_test.go pkg/openapiclient/_github_builtins_test.go
|
||||
|
||||
# https://github.com/kubernetes-sigs/kubectl-validate/issues/134
|
||||
mv pkg/openapiclient/hardcoded_builtins_test.go pkg/openapiclient/_hardcoded_builtins_test.go
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
Loading…
Reference in New Issue
Block a user