Skip to content

Commit

Permalink
discord-rpc: patch to add unreleased PR discord-rpc#387
Browse files Browse the repository at this point in the history
  • Loading branch information
erratic-pattern committed Jan 8, 2025
1 parent 0155aca commit 3fd6f05
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From dc26645316a1996a10995d9f5fae53ca1caddade Mon Sep 17 00:00:00 2001
From: Matt Dallmeyer <[email protected]>
Date: Fri, 29 Sep 2023 14:23:15 -0700
Subject: [PATCH 2/2] Update .clang-format

---
.clang-format | 1 -
1 file changed, 1 deletion(-)

diff --git a/.clang-format b/.clang-format
index 1be8390..e8a5e85 100644
--- a/.clang-format
+++ b/.clang-format
@@ -34,7 +34,6 @@ DerivePointerAlignment: false
DisableFormat: false
FixNamespaceComments: true
ForEachMacros: []
-IndentCaseLabels: false
IncludeCategories:
- Regex: '^("|<)stdafx\.h(pp)?("|>)'
Priority: -1
--
2.47.0

9 changes: 9 additions & 0 deletions pkgs/development/libraries/discord-rpc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ stdenv.mkDerivation rec {
"-DBUILD_EXAMPLES=${lib.boolToString buildExamples}"
];

patches = [
# Adds unreleased PR https://github.com/discord/discord-rpc/pull/387
(fetchpatch {
name = "0002-Update-.clang-format.patch";
url = "https://github.com/discord/discord-rpc/commit/dc26645316a1996a10995d9f5fae53ca1caddade.patch";
hash = "sha256-geofgXwfbDsvsYCz92IVFrdvBDiGvMBiFd3GEbsdoHU=";
})
];

meta = with lib; {
description = "Official library to interface with the Discord client";
homepage = "https://github.com/discordapp/discord-rpc";
Expand Down

0 comments on commit 3fd6f05

Please sign in to comment.