Commit 61e66c3f authored by Tomodachi94's avatar Tomodachi94
Browse files

pothos: patch poco API calls

parent f730c414
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
{ lib
, mkDerivation
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, doxygen
@@ -33,6 +34,12 @@ mkDerivation rec {
  patches = [
    # spuce's CMakeLists.txt uses QT5_USE_Modules, which does not seem to work on Nix
    ./spuce.patch
    # Poco had some breaking API changes in 1.12
    (fetchpatch {
      name = "poco-1.12-compat.patch";
      url = "https://github.com/pothosware/PothosCore/commit/092d1209b0fd0aa8a1733706c994fa95e66fd017.patch";
      hash = "sha256-bZXG8kD4+1LgDV8viZrJ/DMjg8UvW7b5keJQDXurfkA=";
    })
  ];

  nativeBuildInputs = [ cmake pkg-config doxygen wrapQtAppsHook ];