msgpack-cxx: 6.1.1 -> 7.0.0 (#353400)

This commit is contained in:
Emily
2024-12-28 16:15:25 +00:00
committed by GitHub
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "msgpack-cxx";
version = "6.1.1";
version = "7.0.0";
src = fetchFromGitHub {
owner = "msgpack";
repo = "msgpack-c";
rev = "refs/tags/cpp-${finalAttrs.version}";
hash = "sha256-m0Ki+9/nZo2b4BUT+gUtdxok5I7xQtcfnMkbG+OHsKs=";
hash = "sha256-kg4mpNiigfZ59ZeL8LXEHwtkLU8Po+vgRcUcgTJd+h4=";
};
strictDeps = true;
+6
View File
@@ -86,6 +86,12 @@ let
inherit patches;
# allow using any msgpack-cxx version
postPatch = ''
substituteInPlace cmake/GetMsgpack.cmake \
--replace-warn 'find_package(msgpack-cxx 6 QUIET CONFIG)' 'find_package(msgpack-cxx QUIET CONFIG)'
'';
# the install phase for cmake is pretty wonky right now since it's not designed to
# coherently install packages as most linux distros expect -- it's designed to build
# packaged artifacts that are shipped in RPMs, etc. we need to add some extra code to