blob: eee9c70fccc460e4f6e2f5c368edce81312a4ad8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, glib
, zlib
, pcre
, libmysqlclient
, libressl
}:
let inherit (lib) getDev; in
stdenv.mkDerivation rec {
pname = "mydumper";
version = "0.13.1-1";
src = fetchFromGitHub {
owner = "maxbube";
repo = "mydumper";
rev = "refs/tags/v${version}";
hash = "sha256-Oknivkyr3wOfjnDccEeFVt7D2l1CkeWgXahsQCtAc0I=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
glib
zlib
pcre
libmysqlclient
libressl
];
cmakeFlags = [
"-DMYSQL_INCLUDE_DIR=${getDev libmysqlclient}/include/mysql"
];
meta = with lib; {
description = "High-perfomance MySQL backup tool";
homepage = "https://github.com/maxbube/mydumper";
changelog = "https://github.com/mydumper/mydumper/releases/tag/v${version}";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ izorkin ];
};
}
|