Unverified Commit f0a33ba8 authored by misuzu's avatar misuzu Committed by GitHub
Browse files

zerofs: 0.20.0 -> 0.22.1 (#470131)

parents 38295a27 1bccf754
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -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";