Merge pull request #254728 from r-ryantm/auto-update/deck

deck: 1.26.0 -> 1.27.0
This commit is contained in:
Weijia Wang 2023-09-28 14:47:40 +02:00 committed by GitHub
commit a3e7a150b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,14 @@
{ buildGoModule, lib, installShellFiles, fetchFromGitHub }:
let
short_hash = "63b9742";
in buildGoModule rec {
buildGoModule rec {
pname = "deck";
version = "1.26.0";
version = "1.27.0";
src = fetchFromGitHub {
owner = "Kong";
repo = "deck";
rev = "v${version}";
hash = "sha256-DxmIHJfvRZKsMyFllbfpriT4Ts9f7ha4aZcfVr/b9eA=";
hash = "sha256-QP267H1vfsIo1EhV9vAWt03ewGufPHT8sZWcj/AHuxw=";
};
nativeBuildInputs = [ installShellFiles ];
@ -18,10 +17,11 @@ in buildGoModule rec {
ldflags = [
"-s -w -X github.com/kong/deck/cmd.VERSION=${version}"
"-X github.com/kong/deck/cmd.COMMIT=${short_hash}"
"-X github.com/kong/deck/cmd.COMMIT=${src.rev}"
];
vendorHash = "sha256-jhLZvusYpX5fW1NCmJtwE/p9/wTwzA2hbwt657VsZts=";
proxyVendor = true; # darwin/linux hash mismatch
vendorHash = "sha256-ikgD17+lnKpxCzrIkOXOq332X48qEdSWXIIRoq76fB4=";
postInstall = ''
installShellCompletion --cmd deck \