ruby-modules/gem-config: prometheus-client-mmap 1.1.0 support

This commit is contained in:
ajs124
2024-01-31 17:48:57 +01:00
committed by Yaya
parent dd65d0c67e
commit b37344b7a0
@@ -312,7 +312,9 @@ in
cp -R ext/fast_mmaped_file_rs $out
'';
};
hash = "sha256-XuQZPbFWqPHlrJvllkvLl1FjKeoAUbi8oKDrS2rY1KM=";
hash = if lib.versionAtLeast attrs.version "1.1.0"
then "sha256-tSyoCEBtMMkFfPynaMx8oc9bO7I+Pf6Y/f3Ld8uwlEE="
else "sha256-XuQZPbFWqPHlrJvllkvLl1FjKeoAUbi8oKDrS2rY1KM=";
};
nativeBuildInputs = [
cargo