diff options
author | Olli Helenius <liff@iki.fi> | 2023-12-31 11:37:37 +0200 |
---|---|---|
committer | Olli Helenius <liff@iki.fi> | 2023-12-31 11:37:37 +0200 |
commit | 419a2085d9c6e64966f3e0a5417b67be137ca9fd (patch) | |
tree | 2873c90d9b9e5bdbd77d5a9cb3684ba76efaeb67 /pkgs/development/libraries/libserdes | |
parent | 4da9e47b03f6f0417a6c8fada1a3394dcac31793 (diff) |
libserdes: 6.2.0 -> 7.5.3
Diffstat (limited to 'pkgs/development/libraries/libserdes')
-rw-r--r-- | pkgs/development/libraries/libserdes/default.nix | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/pkgs/development/libraries/libserdes/default.nix b/pkgs/development/libraries/libserdes/default.nix index a3cec3788b581..d634f3a959da0 100644 --- a/pkgs/development/libraries/libserdes/default.nix +++ b/pkgs/development/libraries/libserdes/default.nix @@ -1,42 +1,35 @@ { stdenv , lib , fetchFromGitHub -, fetchpatch , perl +, which , boost , rdkafka , jansson , curl , avro-c -, avro-cpp }: +, avro-cpp +, nix-update-script }: stdenv.mkDerivation rec { pname = "libserdes"; - version = "6.2.0"; + version = "7.5.3"; src = fetchFromGitHub { owner = "confluentinc"; repo = pname; rev = "v${version}"; - sha256 = "194ras18xw5fcnjgg1isnb24ydx9040ndciniwcbdb7w7wd901gc"; + hash = "sha256-rg4SWa9nIDT6JrnnCDwdiFE1cvpUn0HWHn+bPkXMHQ4="; }; outputs = [ "dev" "out" ]; - nativeBuildInputs = [ perl ]; + nativeBuildInputs = [ perl which ]; buildInputs = [ boost rdkafka jansson curl avro-c avro-cpp ]; 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 '' + lib.optionalString (stdenv.cc.libcxx != null) '' |