Merge pull request #149722 from 0x4A6F/master-zola

zola: 0.15.0 -> 0.15.2
This commit is contained in:
Mario Rodas 2021-12-10 21:20:25 -05:00 committed by GitHub
commit e3e51abbff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";
};
}