diff --git a/pkgs/applications/misc/zola/default.nix b/pkgs/applications/misc/zola/default.nix index 5107697f8d89..2c205424fe4e 100644 --- a/pkgs/applications/misc/zola/default.nix +++ b/pkgs/applications/misc/zola/default.nix @@ -9,20 +9,22 @@ , CoreServices , installShellFiles , libsass +, zola +, testVersion }: rustPlatform.buildRustPackage rec { pname = "zola"; - version = "0.15.0"; + version = "0.15.2"; src = fetchFromGitHub { owner = "getzola"; repo = "zola"; rev = "v${version}"; - sha256 = "152ydi2gxfhyqsw6i79f9h1xwvwfq729likbagjy5z2bv822m44v"; + sha256 = "sha256-X4J3T/ob0NfCFxddadBtsPsDhfvesg6/sBJybWeubMM="; }; - cargoSha256 = "0bv2yyqy9l896p0dk1668ayw3xf71h9ddyymimx44j6nw389fxx3"; + cargoSha256 = "sha256-0tynm/DTX2oiqZOdWjRBGPk8IPIN07x2+FCXQmQ4Fzo="; nativeBuildInputs = [ cmake @@ -46,13 +48,13 @@ rustPlatform.buildRustPackage rec { --bash completions/zola.bash ''; + passthru.tests.version = testVersion { package = zola; }; + meta = with lib; { description = "A fast static site generator with everything built-in"; homepage = "https://www.getzola.org/"; changelog = "https://github.com/getzola/zola/raw/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ dandellion dywedir _0x4A6F ]; - # set because of unstable-* version - mainProgram = "zola"; }; }