Unverified Commit 6c91b496 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

heimer: Fix build with CMake 4 (#461870)

parents 5346952f 610e6272
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  mkDerivation,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  qttools,
  qtbase,
@@ -18,6 +19,20 @@ mkDerivation rec {
    hash = "sha256-eKnGCYxC3b7qd/g2IMDyZveBg+jvFA9s3tWEGeTPSkU=";
  };

  patches = [
    # Fix the build with CMake 4
    (fetchpatch {
      name = "update-Argengine.patch";
      url = "https://github.com/juzzlin/Heimer/commit/76d9e8458038d2da4171be3a58766b84334119e8.patch";
      hash = "sha256-mFzfxxhaJ1jdwfFVo36N66+jzS/scEeray1s75c+T8M=";
    })
    (fetchpatch {
      name = "update-SimpleLogger.patch";
      url = "https://github.com/juzzlin/Heimer/commit/75bff37b6ebd02d9f734e70ee4d3c10ec0291e0d.patch";
      hash = "sha256-ZPj5GaM13UsGwJbc0NW0xJd07agZT+g86674i3apqWY=";
    })
  ];

  nativeBuildInputs = [
    cmake
  ];