mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00
discord-rpc: upstream patch to fix build (#372219)
Backport patch from upstream PR https://github.com/discord/discord-rpc/pull/387 to fix build
This commit is contained in:
parent
c96099bea4
commit
4aeb84c0ed
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
rapidjson,
|
||||
AppKit,
|
||||
@ -32,6 +33,15 @@ stdenv.mkDerivation rec {
|
||||
"-DBUILD_EXAMPLES=${lib.boolToString buildExamples}"
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Adds unreleased PR https://github.com/discord/discord-rpc/pull/387
|
||||
(fetchpatch {
|
||||
name = "0001-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";
|
||||
|
Loading…
Reference in New Issue
Block a user