diff options
author | Izorkin <Izorkin@gmail.com> | 2017-12-06 16:00:49 +0300 |
---|---|---|
committer | adisbladis <adis@blad.is> | 2017-12-07 09:41:32 +0800 |
commit | 3025eb446bcf2a431df2c278dcae2f7479fd720c (patch) | |
tree | 78aa2231d4011c3574a9b86049be1500ca41d570 /pkgs/tools/backup/mydumper | |
parent | 9adbe6476107c16fb5d70430560e57a344613ae4 (diff) |
mydumper: init at 0.9.3
Diffstat (limited to 'pkgs/tools/backup/mydumper')
-rw-r--r-- | pkgs/tools/backup/mydumper/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/backup/mydumper/default.nix b/pkgs/tools/backup/mydumper/default.nix new file mode 100644 index 0000000000000..5b1f8f3fd5cbf --- /dev/null +++ b/pkgs/tools/backup/mydumper/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig +, glib, zlib, pcre, mariadb, libressl, }: + +stdenv.mkDerivation rec { + version = "0.9.3"; + name = "mydumper-${version}"; + + src = fetchFromGitHub { + owner = "maxbube"; + repo = "mydumper"; + rev = "v${version}"; + sha256 = "139v6707sxyslg7n1fii8b1ybdq50hbqhc8zf6p1cr3h2hhl6ns9"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + + buildInputs = [ glib zlib pcre mariadb.client.dev libressl ]; + + 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 ]; + }; +} |