tauon: add optional withDiscordRPC (#138765)

* tauon: add optional withDiscordRPC

* Update pkgs/applications/audio/tauon/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Amneesh 2021-09-22 00:39:49 +05:30 committed by GitHub
parent 7ecc0a0181
commit 89393893ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]}"