mysqltuner: 1.8.3 -> 2.6.0

This commit is contained in:
Simon Hauser
2025-01-23 11:32:51 +01:00
committed by Peter Hoeg
parent 276af645fd
commit c86f190448
+5 -5
View File
@@ -4,24 +4,24 @@
fetchFromGitHub,
perl,
}:
stdenv.mkDerivation rec {
pname = "mysqltuner";
version = "1.8.3";
version = "2.6.0";
src = fetchFromGitHub {
owner = "major";
repo = "MySQLTuner-perl";
rev = version;
sha256 = "sha256-ezF0zjQB/KWD5rUcbXx2uwiNLsIJ7ZKMoqkclP7oc98=";
rev = "v${version}";
hash = "sha256-JIO/auY8E6at9OCIqgKbBz9OhOeZMtQvUoUYPMEVtCg=";
};
postPatch = ''
substituteInPlace mysqltuner.pl \
--replace '/usr/share' "$out/share"
--replace-fail '/usr/share' "$out/share"
'';
buildInputs = [ perl ];
dontBuild = true;
installPhase = ''
runHook preInstall