2017-12-06 13:00:49 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
2017-12-27 16:00:39 +00:00
|
|
|
, glib, zlib, pcre, mysql, libressl }:
|
2017-12-06 13:00:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-07 09:37:54 +01:00
|
|
|
version = "0.9.5";
|
2017-12-06 13:00:49 +00:00
|
|
|
name = "mydumper-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maxbube";
|
|
|
|
repo = "mydumper";
|
|
|
|
rev = "v${version}";
|
2018-05-07 09:37:54 +01:00
|
|
|
sha256 = "0vbz0ri5hm6yzkrcgnaj8px6bf59myr5dbhyy7fd4cv44hr685k6";
|
2017-12-06 13:00:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
2017-12-27 16:00:39 +00:00
|
|
|
buildInputs = [ glib zlib pcre mysql.connector-c libressl ];
|
2017-12-06 13:00:49 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''High-perfomance MySQL backup tool'';
|
|
|
|
homepage = https://github.com/maxbube/mydumper;
|
|
|
|
license = licenses.gpl3;
|
2018-05-07 14:44:30 +01:00
|
|
|
platforms = platforms.linux;
|
2017-12-06 13:00:49 +00:00
|
|
|
maintainers = with maintainers; [ izorkin ];
|
|
|
|
};
|
|
|
|
}
|