Unverified Commit 0429fa5b authored by Emily's avatar Emily Committed by GitHub
Browse files

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

parents eed1e7c6 29402375
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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