Unverified Commit 8180f2c0 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

falcon: fix build with cmake4 (#475631)

parents 0f4a7e11 82d7f757
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  pkg-config,
  pcre,
@@ -20,6 +21,15 @@ stdenv.mkDerivation {
    hash = "sha256-0yLhwDVFNbfiW23hNxrvItCCkyaOvEbFSg1ZQuJvhIs=";
  };

  patches = [
    # part of https://github.com/falconpl/falcon/pull/11
    (fetchpatch {
      name = "bump-minimum-cmake-required-version.patch";
      url = "https://github.com/falconpl/falcon/commit/a1f4fa1607249b0356c2cd2c54134cb3dc2dc231.patch";
      hash = "sha256-oYLB+71/oan2MOyHTr/IpgDwik+T8ToP1q7AroaBq1g=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config