about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/tauon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/tauon/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/audio/tauon/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/applications/audio/tauon/default.nix b/nixpkgs/pkgs/applications/audio/tauon/default.nix
index 530c41ab9220..8213aeb5fe50 100644
--- a/nixpkgs/pkgs/applications/audio/tauon/default.nix
+++ b/nixpkgs/pkgs/applications/audio/tauon/default.nix
@@ -15,6 +15,7 @@
 , opusfile
 , pango
 , pulseaudio
+, withDiscordRPC ? false
 }:
 
 stdenv.mkDerivation rec {
@@ -82,7 +83,7 @@ stdenv.mkDerivation rec {
     pysdl2
     requests
     send2trash
-  ];
+  ] ++ lib.optional withDiscordRPC pypresence;
 
   makeWrapperArgs = [
     "--prefix PATH : ${lib.makeBinPath [ffmpeg]}"