Skip to content

Commit c3f9a8b

Browse files
discord-rpc: patch to add unreleased PR discord-rpc#387
See discord/discord-rpc#387
1 parent 0155aca commit c3f9a8b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkgs/development/libraries/discord-rpc/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5+
fetchpatch,
56
cmake,
67
rapidjson,
78
AppKit,
@@ -32,6 +33,15 @@ stdenv.mkDerivation rec {
3233
"-DBUILD_EXAMPLES=${lib.boolToString buildExamples}"
3334
];
3435

36+
patches = [
37+
# Adds unreleased PR https://github.com/discord/discord-rpc/pull/387
38+
(fetchpatch {
39+
name = "0001-Update-.clang-format.patch";
40+
url = "https://github.com/discord/discord-rpc/commit/dc26645316a1996a10995d9f5fae53ca1caddade.patch";
41+
hash = "sha256-geofgXwfbDsvsYCz92IVFrdvBDiGvMBiFd3GEbsdoHU=";
42+
})
43+
];
44+
3545
meta = with lib; {
3646
description = "Official library to interface with the Discord client";
3747
homepage = "https://github.com/discordapp/discord-rpc";

0 commit comments

Comments
 (0)