mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
buildpack: 0.24.1 -> 0.26.0
https://github.com/buildpacks/pack/releases/tag/v0.26.0
This commit is contained in:
parent
2e64043c01
commit
9f9f64c161
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pack";
|
||||
version = "0.24.1";
|
||||
version = "0.26.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "buildpacks";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zwvZ99SLeYQDSzrEy2eYPMyFh9B6LWZT3tY92EOrXnU=";
|
||||
sha256 = "sha256-P6rfYrjk7MWVvNowaIKc0PzCzAyHRK+qw2BDe56CPp8=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-4uMd0KaV5xrxuJ9yqpxbD3YTNaBHsH2d/IRtYRyN5+0=";
|
||||
vendorSha256 = "sha256-ygHE52zYU/Zx/bSHMeTTFZyBvWrIKeuO0bciB4E0dHE=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
@ -20,8 +20,10 @@ buildGoModule rec {
|
||||
ldflags = [ "-s" "-w" "-X github.com/buildpacks/pack.Version=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --bash --name pack.bash $(PACK_HOME=$PWD $out/bin/pack completion --shell bash)
|
||||
installShellCompletion --zsh --name _pack $(PACK_HOME=$PWD $out/bin/pack completion --shell zsh)
|
||||
installShellCompletion --cmd pack \
|
||||
--zsh $(PACK_HOME=$PWD $out/bin/pack completion --shell zsh) \
|
||||
--bash $(PACK_HOME=$PWD $out/bin/pack completion --shell bash) \
|
||||
--fish $(PACK_HOME=$PWD $out/bin/pack completion --shell fish)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user