sqlcheck: fix minimum cmake version, mark as broken on darwin (#451899)
This commit is contained in:
@@ -28,6 +28,13 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.8 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
|
||||
substituteInPlace external/gflags/CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required (VERSION 3.0.2 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
doCheck = true;
|
||||
@@ -37,7 +44,8 @@ stdenv.mkDerivation rec {
|
||||
description = "Automatically identify anti-patterns in SQL queries";
|
||||
mainProgram = "sqlcheck";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ ];
|
||||
platforms = with platforms; unix ++ windows;
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
maintainers = with maintainers; [ h7x4 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user