mydumper: 0.13.1-1 -> 0.14.1-1

This commit is contained in:
Izorkin 2023-03-25 22:32:36 +03:00
parent ef51ad5542
commit d0b5d7f95c
No known key found for this signature in database
GPG Key ID: 1436C1B3F3679F09

View File

@ -1,43 +1,35 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, glib
, zlib
, pcre
, libmysqlclient
, libressl
{ lib, stdenv, fetchFromGitHub
, cmake, pkg-config, sphinx
, glib , pcre
, libmysqlclient, libressl
, zlib, zstd
}:
let inherit (lib) getDev; in
stdenv.mkDerivation rec {
pname = "mydumper";
version = "0.13.1-1";
version = "0.14.1-1";
src = fetchFromGitHub {
owner = "maxbube";
owner = "mydumper";
repo = "mydumper";
rev = "refs/tags/v${version}";
hash = "sha256-Oknivkyr3wOfjnDccEeFVt7D2l1CkeWgXahsQCtAc0I=";
hash = "sha256-I8COArsIO8+09SNa3DrgoGpvhLj08I8UvT2H9k9mJNQ=";
};
nativeBuildInputs = [
cmake
pkg-config
];
outputs = [ "out" "doc" "man" ];
nativeBuildInputs = [ cmake pkg-config sphinx ];
buildInputs = [
glib
zlib
pcre
libmysqlclient
libressl
glib pcre
libmysqlclient libressl
zlib zstd
];
cmakeFlags = [
"-DMYSQL_INCLUDE_DIR=${getDev libmysqlclient}/include/mysql"
"-DCMAKE_SKIP_BUILD_RPATH=ON"
"-DMYSQL_INCLUDE_DIR=${lib.getDev libmysqlclient}/include/mysql"
"-DWITH_ZSTD=ON"
];
meta = with lib; {