Commit 85a8de6f authored by K900's avatar K900
Browse files

kdePackages.libquotient: 0.9.1 -> 0.9.5, fix build with Qt 6.10

parent d03ce9c0
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  olm,
  openssl,
@@ -12,7 +13,7 @@

stdenv.mkDerivation rec {
  pname = "libquotient";
  version = "0.9.1";
  version = "0.9.5";

  outputs = [
    "out"
@@ -23,9 +24,18 @@ stdenv.mkDerivation rec {
    owner = "quotient-im";
    repo = "libQuotient";
    rev = version;
    hash = "sha256-R9ms3sYGdHaYKUMnZyBjw5KCik05k93vlvXMRtAXh5Y=";
    hash = "sha256-wdIE5LI4l3WUvpGfoJBL8sjBl2k8NfZTh9CjfJc9FIA=";
  };

  patches = [
    # Qt 6.10 compat
    # FIXME: remove in next update
    (fetchpatch {
      url = "https://github.com/quotient-im/libQuotient/commit/ea83157eed37ff97ab275a5d14c971f0a5a70595.diff";
      hash = "sha256-JMdcywGgZ0Gev/Nce4oPiMJQxTBJYPoq+WoT3WLWWNQ=";
    })
  ];

  nativeBuildInputs = [ cmake ];

  propagatedBuildInputs = [