mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
mydumper: set MYSQL_INCLUDE_DIR
This commit is contained in:
parent
52c9fbc835
commit
951ec9287a
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user