3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/backup/mydumper/default.nix
2017-12-07 09:41:32 +08:00

27 lines
707 B
Nix

{ 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 ];
};
}