nheko: fix build with fmt-10.1

+17
+17
pkgs/applications/networking/instant-messengers/nheko/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , cmake 5 6 , asciidoc 6 7 , pkg-config ··· 41 42 rev = "v${version}"; 42 43 hash = "sha256-2daXxTbpSUlig47y901JOkWRxbZGH4qrvNMepJbvS3o="; 43 44 }; 45 + 46 + patches = [ 47 + # The 2 following patches can be removed with the next version bump. 48 + # Backport of https://github.com/Nheko-Reborn/nheko/commit/e89e65dc17020772eb057414b4f0c5d6f4ad98d0. 49 + (fetchpatch { 50 + name = "nheko-fmt10.patch"; 51 + url = "https://gitlab.archlinux.org/archlinux/packaging/packages/nheko/-/raw/1b0d5c9eff6409dfd82953f346546d36c288a4a9/nheko-0.11.3-fix-for-fmt-10.patch"; 52 + hash = "sha256-UYqAu2iXT3Bn/MxCtybiJrJLfVMOOVRchWqrGuPfapI="; 53 + }) 54 + # https://github.com/Nheko-Reborn/nheko/pull/1552 55 + (fetchpatch { 56 + name = "nheko-fmt10.1.patch"; 57 + url = "https://github.com/Nheko-Reborn/nheko/commit/614facf93c2b5d6118beb822cc542ac53a883c37.patch"; 58 + hash = "sha256-rjsQNDfj3Lzbv8ow3qiNozGXQFrtYLhArS6a9JCdgBQ="; 59 + }) 60 + ]; 44 61 45 62 nativeBuildInputs = [ 46 63 asciidoc