saunafs: 5.1.2 -> 5.3.0 (#451796)

This commit is contained in:
Markus Kowalewski
2025-11-19 12:55:59 +00:00
committed by GitHub
+11 -7
View File
@@ -18,17 +18,18 @@
judy,
prometheus-cpp,
libz,
gtest,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "saunafs";
version = "5.1.2";
version = "5.3.0";
src = fetchFromGitHub {
owner = "leil-io";
repo = "saunafs";
rev = "v${finalAttrs.version}";
hash = "sha256-56PlUeXHqNhKYokKWqLCeaP3FZBdefhQFQQoP8YytQQ=";
hash = "sha256-pT12m50q6unqx9IzRHRs8WE7ygVJW8bi0IKUHu8bGCs=";
};
patches = [
@@ -59,6 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
judy
prometheus-cpp
libz
gtest
];
cmakeFlags = [
@@ -68,11 +70,13 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "ENABLE_JEMALLOC" true)
];
postInstall = lib.optionalString (!stdenv.hostPlatform.isStatic) ''
rm $out/lib/*.a
ln -s $out/bin/sfsmount $out/bin/mount.saunafs
'';
postInstall =
lib.optionalString (!stdenv.hostPlatform.isStatic) ''
rm $out/lib/*.a
''
+ ''
ln -s $out/bin/sfsmount $out/bin/mount.saunafs
'';
passthru.tests = nixosTests.saunafs;