zola: 0.15.0 -> 0.15.1

This commit is contained in:
0x4A6F 2021-12-08 22:29:35 +01:00
parent 0d85aadbf6
commit a7922091a6
No known key found for this signature in database
GPG Key ID: 8DEDBA5BE07080E1

View File

@ -9,20 +9,22 @@
, CoreServices , CoreServices
, installShellFiles , installShellFiles
, libsass , libsass
, zola
, testVersion
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "zola"; pname = "zola";
version = "0.15.0"; version = "0.15.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "getzola"; owner = "getzola";
repo = "zola"; repo = "zola";
rev = "v${version}"; rev = "v${version}";
sha256 = "152ydi2gxfhyqsw6i79f9h1xwvwfq729likbagjy5z2bv822m44v"; sha256 = "04wvav9qpp5hsk3frf2bqxnnvbq5b4ix0c4sia4x89cbpr1z14yp";
}; };
cargoSha256 = "0bv2yyqy9l896p0dk1668ayw3xf71h9ddyymimx44j6nw389fxx3"; cargoSha256 = "1s58rbiw16rilnhzacqvzlgmcy5kzrn5v61bfi06a0yqkz8zzykv";
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
@ -46,13 +48,13 @@ rustPlatform.buildRustPackage rec {
--bash completions/zola.bash --bash completions/zola.bash
''; '';
passthru.tests.version = testVersion { package = zola; };
meta = with lib; { meta = with lib; {
description = "A fast static site generator with everything built-in"; description = "A fast static site generator with everything built-in";
homepage = "https://www.getzola.org/"; homepage = "https://www.getzola.org/";
changelog = "https://github.com/getzola/zola/raw/v${version}/CHANGELOG.md"; changelog = "https://github.com/getzola/zola/raw/v${version}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ dandellion dywedir _0x4A6F ]; maintainers = with maintainers; [ dandellion dywedir _0x4A6F ];
# set because of unstable-* version
mainProgram = "zola";
}; };
} }