2017-12-06 14:00:49 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
2019-09-22 09:38:09 +02:00
|
|
|
, glib, zlib, pcre, libmysqlclient, libressl }:
|
2017-12-06 14:00:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-07 10:37:54 +02:00
|
|
|
version = "0.9.5";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mydumper";
|
2017-12-06 14:00:49 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maxbube";
|
|
|
|
repo = "mydumper";
|
|
|
|
rev = "v${version}";
|
2018-05-07 10:37:54 +02:00
|
|
|
sha256 = "0vbz0ri5hm6yzkrcgnaj8px6bf59myr5dbhyy7fd4cv44hr685k6";
|
2017-12-06 14:00:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
2019-09-22 09:38:09 +02:00
|
|
|
buildInputs = [ glib zlib pcre libmysqlclient libressl ];
|
2017-12-06 14:00:49 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''High-perfomance MySQL backup tool'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/maxbube/mydumper";
|
2017-12-06 14:00:49 +01:00
|
|
|
license = licenses.gpl3;
|
2018-05-07 15:44:30 +02:00
|
|
|
platforms = platforms.linux;
|
2017-12-06 14:00:49 +01:00
|
|
|
maintainers = with maintainers; [ izorkin ];
|
|
|
|
};
|
|
|
|
}
|