Unverified Commit 03a0b602 authored by Nick Cao's avatar Nick Cao
Browse files

copyq: add patch for qt 6.6 support

parent 48e85284
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch2
, cmake
, ninja
, extra-cmake-modules
@@ -26,6 +27,15 @@ stdenv.mkDerivation rec {
    hash = "sha256-aAmpFKIIFZLPWUaOcf4V1d/wVQ7xRcnXFsqFjROsabg=";
  };

  patches = [
    # itemfakevim: fix build with qt 6.6.0
    # https://github.com/hluk/CopyQ/pull/2508
    (fetchpatch2 {
      url = "https://github.com/hluk/CopyQ/commit/a20bfff0d78296b334ff8cabb047ab5d842b7311.patch";
      hash = "sha256-F/6cQ8+O1Ttd4EFFxQas5ES6U+qxWdmYqUWRQLsVMa4=";
    })
  ];

  nativeBuildInputs = [
    cmake
    ninja