Unverified Commit f7d12b33 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by GitHub
Browse files

biblesync: fix `cmake-4` build (#457353)

parents c0b7aa91 ad01a42c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  pkg-config,
  cmake,
  libuuid,
@@ -19,6 +20,15 @@ stdenv.mkDerivation rec {
    sha256 = "0prmd12jq2cjdhsph5v89y38j7hhd51dr3r1hivgkhczr3m5hf4s";
  };

  patches = [
    # Fix cmake-4 support
    (fetchpatch {
      name = "cmake-4.patch";
      url = "https://github.com/karlkleinpaste/biblesync/commit/4b00f9fd3d0c858947eee18206ef44f9f6bd2283.patch?full_index=1";
      hash = "sha256-CVYhYBDneLN3Ogvye01EQCc9zxjSwaKBzk1fBaKINug=";
    })
  ];

  nativeBuildInputs = [
    pkg-config
    cmake