1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

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 , opusfile
, pango , pango
, pulseaudio , pulseaudio
, withDiscordRPC ? false
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -82,7 +83,7 @@ stdenv.mkDerivation rec {
pysdl2 pysdl2
requests requests
send2trash send2trash
]; ] ++ lib.optional withDiscordRPC pypresence;
makeWrapperArgs = [ makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ffmpeg]}" "--prefix PATH : ${lib.makeBinPath [ffmpeg]}"