cassandra-cpp-driver: fix build with cmake4 (#475601)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
lib,
|
||||
stdenv,
|
||||
cmake,
|
||||
@@ -20,6 +21,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-GuvmKHJknudyn7ahrn/8+kKUA4NW5UjCfkYoX3aTE+Q=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/apache/cassandra-cpp-driver/pull/580
|
||||
(fetchpatch {
|
||||
name = "fix-cmake-version.patch";
|
||||
url = "https://github.com/apache/cassandra-cpp-driver/commit/a4061051bcdfa0a67117b546897552c38493d545.patch?full_index=1";
|
||||
hash = "sha256-hQhm2SYLd8uPC85/iOH3sEM2KvoIGwV+9NGIJFnZJhc=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
||||
Reference in New Issue
Block a user