commit
82cbc6af3c
@ -1,10 +1,10 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "skaffold";
|
||||
version = "1.3.1";
|
||||
# rev is the 1.3.1 commit, mainly for skaffold version command output
|
||||
rev = "6ba887a42438d1da578a005cf550e618fee6dfb8";
|
||||
version = "1.4.0";
|
||||
# rev is the ${version} commit, mainly for skaffold version command output
|
||||
rev = "bb324609b4254ceb9f76d35eb03642a6a1807867";
|
||||
|
||||
goPackagePath = "github.com/GoogleContainerTools/skaffold";
|
||||
subPackages = ["cmd/skaffold"];
|
||||
@ -20,13 +20,21 @@ buildGoPackage rec {
|
||||
owner = "GoogleContainerTools";
|
||||
repo = "skaffold";
|
||||
rev = "v${version}";
|
||||
sha256 = "1ph7qyk5khdinxbhgqhhja8fz8b6q8yz5rj5xh0nwaff4bmlfd99";
|
||||
sha256 = "0nrz2gnp722cq4p8lcfl0nlws53c2bfq17jgr2jad4vyjglgfscw";
|
||||
};
|
||||
|
||||
meta = {
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
postInstall = ''
|
||||
for shell in bash zsh; do
|
||||
$bin/bin/skaffold completion $shell > skaffold.$shell
|
||||
installShellCompletion skaffold.$shell
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easy and Repeatable Kubernetes Development";
|
||||
homepage = https://github.com/GoogleContainerTools/skaffold;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ vdemeester ];
|
||||
homepage = "https://skaffold.dev/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ vdemeester ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user