Skip to content

Commit 05264bf

Browse files
authored
cassandra-cpp-driver: fix build with cmake4 (#475601)
2 parents 8e25f06 + ae22b08 commit 05264bf

File tree

1 file changed

+10
-0
lines changed
  • pkgs/development/libraries/cassandra-cpp-driver

1 file changed

+10
-0
lines changed

pkgs/development/libraries/cassandra-cpp-driver/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
fetchFromGitHub,
3+
fetchpatch,
34
lib,
45
stdenv,
56
cmake,
@@ -20,6 +21,15 @@ stdenv.mkDerivation rec {
2021
sha256 = "sha256-GuvmKHJknudyn7ahrn/8+kKUA4NW5UjCfkYoX3aTE+Q=";
2122
};
2223

24+
patches = [
25+
# https://github.com/apache/cassandra-cpp-driver/pull/580
26+
(fetchpatch {
27+
name = "fix-cmake-version.patch";
28+
url = "https://github.com/apache/cassandra-cpp-driver/commit/a4061051bcdfa0a67117b546897552c38493d545.patch?full_index=1";
29+
hash = "sha256-hQhm2SYLd8uPC85/iOH3sEM2KvoIGwV+9NGIJFnZJhc=";
30+
})
31+
];
32+
2333
nativeBuildInputs = [
2434
cmake
2535
pkg-config

0 commit comments

Comments
 (0)