pothos: patch poco API calls

This commit is contained in:
Tomo 2023-05-19 18:04:42 -07:00
parent f730c41470
commit 61e66c3fba

View file

@ -1,6 +1,7 @@
{ 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 ];