Unverified Commit f6dc216e authored by Li Yang's avatar Li Yang Committed by GitHub
Browse files
parent 4b4a5a4b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{ buildGoModule, lib, installShellFiles, fetchFromGitHub }:
let
  short_hash = "7447a09";
  short_hash = "69aa892";
in buildGoModule rec {
  pname = "deck";
  version = "1.22.0";
  version = "1.23.0";

  src = fetchFromGitHub {
    owner = "Kong";
    repo = "deck";
    rev = "v${version}";
    hash = "sha256-BCx4bw+FrnH291sp52Dz+dc6cYtoLAt8fmdF6YbmgOE=";
    hash = "sha256-PrpiZBGNb8tWt2RiZ4iHKibN+2EQRm1/tBbDLng/lkA=";
  };

  nativeBuildInputs = [ installShellFiles ];
@@ -21,7 +21,7 @@ in buildGoModule rec {
    "-X github.com/kong/deck/cmd.COMMIT=${short_hash}"
  ];

  vendorSha256 = "sha256-rir8z1IwQenTvihHWaA7dx6Nn45M82ulCNRJuQlUhEM=";
  vendorHash = "sha256-brd+gtIHIarMv3l6O6JMDPRFlMwKSLZjBABAvByUC6o=";

  postInstall = ''
    installShellCompletion --cmd deck \