1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/tools/misc/mysqltuner/default.nix
R. RyanTM b5c6a4a78c mysqltuner: 1.6.18 -> 1.7.13
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mysqltuner/versions
2018-11-19 00:31:04 -08:00

28 lines
677 B
Nix

{ stdenv, fetchFromGitHub, perl }:
stdenv.mkDerivation rec {
name = "mysqltuner-${version}";
version = "1.7.13";
src = fetchFromGitHub {
owner = "major";
repo = "MySQLTuner-perl";
rev = version;
sha256 = "0zxm2hjvgznbbmsqb8bpcgzc0yq1ikxz1gckirp95ibxid3jdham";
};
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 ];
};
}