Merge pull request #218898 from 0x4A6F/master-zola
zola: 0.16.1 -> 0.17.1
This commit is contained in:
commit
e073af1b90
1 changed files with 6 additions and 6 deletions
|
@ -15,16 +15,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "zola";
|
pname = "zola";
|
||||||
version = "0.16.1";
|
version = "0.17.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "getzola";
|
owner = "getzola";
|
||||||
repo = "zola";
|
repo = "zola";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-VkR7fM2WeI1itGq5kl54CVLnNW+NxIodkVKeGv8HoaU=";
|
hash = "sha256-+q6arKZjHVstnbPQhmuxdj/kCPTFf9L0jZYlPS+lksk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-74QVFjDlT3ewx4sCK4/r5In0muqboBFEpMFBv2L5YaM=";
|
cargoHash = "sha256-mS+yQD7ggQJ/6TYgL54+lLsUbKQaZX9oxT2/GaFoWyI=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
|
@ -43,9 +43,9 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd zola \
|
installShellCompletion --cmd zola \
|
||||||
--fish completions/zola.fish \
|
--bash <($out/bin/zola completion bash) \
|
||||||
--zsh completions/_zola \
|
--fish <($out/bin/zola completion fish) \
|
||||||
--bash completions/zola.bash
|
--zsh <($out/bin/zola completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion { package = zola; };
|
passthru.tests.version = testers.testVersion { package = zola; };
|
||||||
|
|
Loading…
Reference in a new issue