6 , buildExamples ? false
9 stdenv.mkDerivation rec {
10 pname = "discord-rpc";
13 src = fetchFromGitHub {
17 sha256 = "04cxhqdv5r92lrpnhxf8702a8iackdf3sfk1050z7pijbijiql2a";
26 ] ++ lib.optional stdenv.isDarwin AppKit;
29 "-DBUILD_SHARED_LIBS=true"
30 "-DBUILD_EXAMPLES=${lib.boolToString buildExamples}"
34 description = "Official library to interface with the Discord client";
35 homepage = "https://github.com/discordapp/discord-rpc";
36 license = licenses.mit;
37 maintainers = with maintainers; [ tadeokondrak ];
38 platforms = platforms.all;