Unverified Commit 187280c8 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

gum: 0.14.4 -> 0.14.5 (#340268)

parents c8e1501f 75d4a4b0
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
{ lib, buildGoModule, installShellFiles, fetchFromGitHub }:
{ lib, stdenv, buildGoModule, installShellFiles, fetchFromGitHub }:

buildGoModule rec {
  pname = "gum";
  version = "0.14.4";
  version = "0.14.5";

  src = fetchFromGitHub {
    owner = "charmbracelet";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-kR/DNNWCFj/ott31bcppA2gkpNK5OY+SsjYcQak5CK8=";
    hash = "sha256-moKirTXziVo6ESOsnTUmPkcdBYL/VHaG226+UfM0xAk=";
  };

  vendorHash = "sha256-pjWaAeBXIBG+g3TPxioIG9Cl4rvEf4QjyinAtCBYSug=";
  vendorHash = "sha256-wjM2ld4go7OQu6XqsSGurjN09Fd5t9FNLvIzgrZEZ1k=";

  nativeBuildInputs = [
    installShellFiles
@@ -22,6 +22,7 @@ buildGoModule rec {
  postInstall = ''
    $out/bin/gum man > gum.1
    installManPage gum.1
  '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
    installShellCompletion --cmd gum \
      --bash <($out/bin/gum completion bash) \
      --fish <($out/bin/gum completion fish) \