saunafs: 4.8.1 -> 4.11.0 (#415352)

This commit is contained in:
Markus Kowalewski
2025-06-11 18:44:39 +02:00
committed by GitHub
2 changed files with 15 additions and 6 deletions
+12 -2
View File
@@ -5,6 +5,9 @@
fetchFromGitHub,
cmake,
asciidoc,
pkg-config,
db,
curl,
jemalloc,
boost186,
fmt,
@@ -13,17 +16,19 @@
yaml-cpp,
isa-l,
judy,
prometheus-cpp,
libz,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "saunafs";
version = "4.8.1";
version = "4.11.0";
src = fetchFromGitHub {
owner = "leil-io";
repo = "saunafs";
rev = "v${finalAttrs.version}";
hash = "sha256-CGnU32TuHkDZYbC3bbjfz4lFWjYe3yrhX08K+UIP51Q=";
hash = "sha256-ZQ0+jiVpHZhAOdYneKkPi3M45LU9xj2FBbqo6VcD0JY=";
};
patches = [
@@ -39,8 +44,11 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
asciidoc
pkg-config
];
buildInputs = [
db
curl
fmt
spdlog
yaml-cpp
@@ -49,6 +57,8 @@ stdenv.mkDerivation (finalAttrs: {
jemalloc
isa-l
judy
prometheus-cpp
libz
];
cmakeFlags = [
+3 -4
View File
@@ -1,12 +1,11 @@
diff --git a/src/tools/sfstools.sh b/src/tools/sfstools.sh
index ffd9ec22..a1cb83b6 100755
index 2d47a275..30d1b20c 100755
--- a/src/tools/sfstools.sh
+++ b/src/tools/sfstools.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
@@ -2,4 +2,5 @@
tool="$(basename $0)"
>&2 echo "Warning: ${tool} is deprecated. Use saunafs ${tool#sfs} instead."
-exec saunafs "${tool#sfs}" "$@"
+dir="$(dirname $0)"
+
+exec "$dir/saunafs" "${tool#sfs}" "$@"