2017-12-06 14:00:49 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
2017-12-27 17:00:39 +01:00
|
|
|
, glib, zlib, pcre, mysql, libressl }:
|
2017-12-06 14:00:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.9.3";
|
|
|
|
name = "mydumper-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maxbube";
|
|
|
|
repo = "mydumper";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "139v6707sxyslg7n1fii8b1ybdq50hbqhc8zf6p1cr3h2hhl6ns9";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
2017-12-27 17:00:39 +01:00
|
|
|
buildInputs = [ glib zlib pcre mysql.connector-c libressl ];
|
2017-12-06 14:00:49 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''High-perfomance MySQL backup tool'';
|
|
|
|
homepage = https://github.com/maxbube/mydumper;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ izorkin ];
|
|
|
|
};
|
|
|
|
}
|