13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
21 hash = "sha256-BjHAHj3EGE1L+EQdniS4OGOViOmcRDR5RhgmYK2zmVY=";
24 cargoHash = "sha256-ZbSdPi90Nl15YYN1tx9iNsdAjh6x02XKGG73IlOKdXo=";
33 ] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
34 CoreServices SystemConfiguration
37 RUSTONIG_SYSTEM_LIBONIG = true;
39 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
40 installShellCompletion --cmd zola \
41 --bash <($out/bin/zola completion bash) \
42 --fish <($out/bin/zola completion fish) \
43 --zsh <($out/bin/zola completion zsh)
46 passthru.tests.version = testers.testVersion { package = zola; };
49 description = "Fast static site generator with everything built-in";
51 homepage = "https://www.getzola.org/";
52 changelog = "https://github.com/getzola/zola/raw/v${version}/CHANGELOG.md";
53 license = licenses.mit;
54 maintainers = with maintainers; [ dandellion dywedir _0x4A6F ];