zerofs: 0.20.0 -> 0.22.1 (#470131)

This commit is contained in:
misuzu
2025-12-12 17:43:48 +00:00
committed by GitHub
+7 -3
View File
@@ -11,23 +11,27 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "zerofs";
version = "0.20.0";
version = "0.22.1";
src = fetchFromGitHub {
owner = "Barre";
repo = "ZeroFS";
tag = "v${finalAttrs.version}";
hash = "sha256-8iPHIUESModoNFk8XEWjHZOGBOPxhOGM9gHaljWyqZg=";
hash = "sha256-YdqZV8TdodSKP3h2Qa0+Xi7bfGKrtGq625Oco+UjIpU=";
};
sourceRoot = "${finalAttrs.src.name}/zerofs";
cargoHash = "sha256-JZerQne+jW6xjH13dQe3g1dD07BP3j+1DSF+a/SgGXc=";
cargoHash = "sha256-rPa8XmApLClhJ2oAQxEoQL2Hd+8QlJAOZVw+kzS70KY=";
nativeBuildInputs = [ cmake ];
buildInputs = [ rust-jemalloc-sys ];
env = {
RUSTFLAGS = "--cfg tokio_unstable";
};
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";