gowall: 0.2.0 > 0.2.1

FKouhai a78b73ae 3b4ccc94

+13 -4
+13 -4
pkgs/by-name/go/gowall/package.nix
··· 4 4 buildGoModule, 5 5 fetchFromGitHub, 6 6 installShellFiles, 7 + nix-update-script, 8 + writableTmpDirAsHomeHook, 7 9 }: 8 10 9 11 buildGoModule rec { 10 12 pname = "gowall"; 11 - version = "0.2.0"; 13 + version = "0.2.1"; 12 14 13 15 src = fetchFromGitHub { 14 16 owner = "Achno"; 15 17 repo = "gowall"; 16 18 rev = "v${version}"; 17 - hash = "sha256-QKukWA8TB0FoNHu0Wyco55x4oBY+E33qdoT/SaXW6DE="; 19 + hash = "sha256-fgO4AoyHR51zD86h75b06BXV0ONlFfHdBvxfJvcD7J8="; 18 20 }; 19 21 20 - vendorHash = "sha256-H2Io1K2LEFmEPJYVcEaVAK2ieBrkV6u+uX82XOvNXj4="; 22 + vendorHash = "sha256-V/VkbJZIzy4KlEPtlTTqdUIPG6lKD+XidNM0NWpATbk="; 21 23 22 - nativeBuildInputs = [ installShellFiles ]; 24 + nativeBuildInputs = [ 25 + installShellFiles 26 + # using writableTmpDirAsHomeHook to prevent issues when creating config dir for shell completions 27 + writableTmpDirAsHomeHook 28 + ]; 23 29 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' 24 30 installShellCompletion --cmd gowall \ 25 31 --bash <($out/bin/gowall completion bash) \ 26 32 --fish <($out/bin/gowall completion fish) \ 27 33 --zsh <($out/bin/gowall completion zsh) 28 34 ''; 35 + 36 + passthru.updateScript = nix-update-script { }; 29 37 30 38 meta = { 31 39 changelog = "https://github.com/Achno/gowall/releases/tag/v${version}"; ··· 36 44 maintainers = with lib.maintainers; [ 37 45 crem 38 46 emilytrau 47 + FKouhai 39 48 ]; 40 49 }; 41 50 }