File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
pkgs/development/libraries/discord-rpc Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 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" ;
You can’t perform that action at this time.
0 commit comments