Unverified Commit e8d50d6c authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

yaml-filter: fix cmake-4 build (#453144)

parents c0005424 c38a4555
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -6,11 +6,15 @@
  libyaml,
  pkg-config,
}:

stdenv.mkDerivation rec {
  pname = "yaml-filter";
  version = "0.2.0";

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 2." "cmake_minimum_required(VERSION 3.10"
  '';

  src = fetchFromGitHub {
    owner = "OpenSCAP";
    repo = "yaml-filter";