Unverified Commit 8b7ed817 authored by Leona Maroni's avatar Leona Maroni Committed by GitHub
Browse files

limesuite: fix build for cmake 4 (#450310)

parents 61dd13d0 aae541dc
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  sqlite,
  wxGTK32,
@@ -25,6 +26,14 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-f1cXrkVCIc1MqTvlCUBFqzHLhIVueybVxipNZRlF2gE=";
  };

  patches = [
    # CMake < 3.5 fix. Remove upon next version bump
    (fetchpatch {
      url = "https://github.com/myriadrf/LimeSuite/commit/4e5ad459d50c922267a008e5cecb3efdbff31f09.patch";
      hash = "sha256-OASki3bISJvV7wjMz0pBT3kO5RvJ5BnymiF6ruHkCJ8=";
    })
  ];

  nativeBuildInputs = [ cmake ];

  cmakeFlags = [