mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 01:57:37 +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 {
|
buildGoModule rec {
|
||||||
pname = "pack";
|
pname = "pack";
|
||||||
version = "0.24.1";
|
version = "0.26.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "buildpacks";
|
owner = "buildpacks";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-zwvZ99SLeYQDSzrEy2eYPMyFh9B6LWZT3tY92EOrXnU=";
|
sha256 = "sha256-P6rfYrjk7MWVvNowaIKc0PzCzAyHRK+qw2BDe56CPp8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-4uMd0KaV5xrxuJ9yqpxbD3YTNaBHsH2d/IRtYRyN5+0=";
|
vendorSha256 = "sha256-ygHE52zYU/Zx/bSHMeTTFZyBvWrIKeuO0bciB4E0dHE=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
@ -20,8 +20,10 @@ buildGoModule rec {
|
|||||||
ldflags = [ "-s" "-w" "-X github.com/buildpacks/pack.Version=${version}" ];
|
ldflags = [ "-s" "-w" "-X github.com/buildpacks/pack.Version=${version}" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --bash --name pack.bash $(PACK_HOME=$PWD $out/bin/pack completion --shell bash)
|
installShellCompletion --cmd pack \
|
||||||
installShellCompletion --zsh --name _pack $(PACK_HOME=$PWD $out/bin/pack completion --shell zsh)
|
--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; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user