mysqltuner: init at 1.6.18
This commit is contained in:
parent
adfcc2d953
commit
7849677a70
27
pkgs/tools/misc/mysqltuner/default.nix
Normal file
27
pkgs/tools/misc/mysqltuner/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mysqltuner-${version}";
|
||||
version = "1.6.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "major";
|
||||
repo = "MySQLTuner-perl";
|
||||
rev = version;
|
||||
sha256 = "14dblrjqciyx6k7yczfzbaflc7hdxnj0kyy6q0lqfz8imszdkpi2";
|
||||
};
|
||||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
install -m0755 mysqltuner.pl $out/bin/mysqltuner
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Make recommendations for increased performance and stability of MariaDB/MySQL";
|
||||
homepage = http://mysqltuner.com;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
@ -2730,6 +2730,8 @@ in
|
||||
|
||||
mysql2pgsql = callPackage ../tools/misc/mysql2pgsql { };
|
||||
|
||||
mysqltuner = callPackage ../tools/misc/mysqltuner { };
|
||||
|
||||
nabi = callPackage ../tools/inputmethods/nabi { };
|
||||
|
||||
namazu = callPackage ../tools/text/namazu { };
|
||||
|
Loading…
Reference in New Issue
Block a user