genact: 1.2.0 -> 1.2.2

figsoda 165b20ea 796d4cc2

+16 -4
+16 -4
pkgs/applications/misc/genact/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub }: 1 + { lib, rustPlatform, fetchFromGitHub, installShellFiles }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "genact"; 5 - version = "1.2.0"; 5 + version = "1.2.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "svenstaro"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-POOXawhxrPT2UgbSZE3r0br7cqJ0ao7MpycrPYa/oCc="; 11 + sha256 = "sha256-MB/i1jCxoGE8cPF+NE8aS7kF7ZsGb4+OyLcPcGp1hwI="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-2c34YarMFw2CK+7zn41GL5tXfXfnw3NvGtgSlPH5d64="; 14 + cargoSha256 = "sha256-OBGJIR3REeMxHQu3ovEKSZZ8QNlhl/5jvWbR5OdsRTQ="; 15 + 16 + nativeBuildInputs = [ installShellFiles ]; 17 + 18 + postInstall = '' 19 + $out/bin/genact --print-manpage > genact.1 20 + installManPage genact.1 21 + 22 + installShellCompletion --cmd genact \ 23 + --bash <($out/bin/genact --print-completions bash) \ 24 + --fish <($out/bin/genact --print-completions fish) \ 25 + --zsh <($out/bin/genact --print-completions zsh) 26 + ''; 15 27 16 28 meta = with lib; { 17 29 description = "A nonsense activity generator";