mydumper: 0.21.1-1 -> 1.0.1-1 (#489222)
This commit is contained in:
@@ -22,13 +22,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mydumper";
|
||||
version = "0.21.1-1";
|
||||
version = "1.0.1-1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mydumper";
|
||||
repo = "mydumper";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-6x0d1Ywgy6kkfDs3KsS6pRK0/3z9Ur7klO8xMTsoDPI=";
|
||||
hash = "sha256-lYm5avkqX6QLq4zj+B1LivDeQMVVQgL4OcXgX0snuA0=";
|
||||
# as of mydumper v0.16.5-1, mydumper extracted its docs into a submodule
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
@@ -68,16 +68,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"-DMYSQL_INCLUDE_DIR=${lib.getDev libmysqlclient}/include/mysql"
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = (
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
toString [
|
||||
"-Wno-error=format"
|
||||
"-Wno-error=sometimes-uninitialized"
|
||||
]
|
||||
else
|
||||
"-Wno-error=maybe-uninitialized"
|
||||
);
|
||||
|
||||
postPatch = ''
|
||||
# as of mydumper v0.14.5-1, mydumper tries to install its config to /etc
|
||||
substituteInPlace CMakeLists.txt\
|
||||
|
||||
Reference in New Issue
Block a user