about summary refs log tree commit diff
path: root/pkgs/development/libraries/libserdes
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2021-07-11 14:26:29 +0200
committerDaniel Nagy <danielnagy@posteo.de>2022-02-21 10:33:34 +0100
commitb6e09527b294f06fbd700382c20b4c3054c00e5e (patch)
tree5f5baaa5973796438a461846bae58a531024db9e /pkgs/development/libraries/libserdes
parentb41b71729ea3ac47cf47cf729bd091a7f665deda (diff)
libserdes: fix compatibility with Avro master branch
Diffstat (limited to 'pkgs/development/libraries/libserdes')
-rw-r--r--pkgs/development/libraries/libserdes/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libserdes/default.nix b/pkgs/development/libraries/libserdes/default.nix
index 7b48f150c9a14..8b61669d1c6dd 100644
--- a/pkgs/development/libraries/libserdes/default.nix
+++ b/pkgs/development/libraries/libserdes/default.nix
@@ -1,6 +1,7 @@
 { stdenv
 , lib
 , fetchFromGitHub
+, fetchpatch
 , perl
 , boost
 , rdkafka
@@ -28,6 +29,14 @@ stdenv.mkDerivation rec {
 
   makeFlags = [ "GEN_PKG_CONFIG=y" ];
 
+  patches = [
+    # Fix compatibility with Avro master branch
+    (fetchpatch {
+      url = "https://github.com/confluentinc/libserdes/commit/d7a355e712ab63ec77f6722fb5a9e8056e7416a2.patch";
+      sha256 = "14bdx075n4lxah63kp7phld9xqlz3pzs03yf3wbq4nmkgwac10dh";
+    })
+  ];
+
   postPatch = ''
     patchShebangs configure lds-gen.pl
   '';