mydumper: set MYSQL_INCLUDE_DIR

This commit is contained in:
Thomas Tuegel 2020-09-12 05:59:38 -05:00
parent 52c9fbc835
commit 951ec9287a
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

View File

@ -1,6 +1,8 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, glib, zlib, pcre, libmysqlclient, libressl }:
let inherit (stdenv.lib) getDev; in
stdenv.mkDerivation rec {
version = "0.9.5";
pname = "mydumper";
@ -16,6 +18,8 @@ stdenv.mkDerivation rec {
buildInputs = [ glib zlib pcre libmysqlclient libressl ];
cmakeFlags = [ "-DMYSQL_INCLUDE_DIR=${getDev libmysqlclient}/include/mysql" ];
meta = with stdenv.lib; {
description = ''High-perfomance MySQL backup tool'';
homepage = "https://github.com/maxbube/mydumper";