Unverified Commit 34420d4b authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

edlib: fix build with cmake (#452584)

parents 05b2af4e 0897ebc3
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
}:

@@ -16,6 +17,15 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-XejxohLVdBBzpYZ//OpqC1ActmCaZ8tunJyhOYtZmKQ=";
  };

  patches = [
    # Bump minimum CMake version to 3.20
    (fetchpatch {
      name = "bump-cmake-version.patch";
      url = "https://github.com/Martinsos/edlib/commit/47359e591f3861f12105fa8e72242de64d5597c4.patch?full_index=1";
      hash = "sha256-Efbv8XYF1jOz6MypIyhfFJGQQt8gTYNZRd+R8ukIf3o=";
    })
  ];

  nativeBuildInputs = [ cmake ];

  doCheck = true;