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:
parent
7ecc0a0181
commit
89393893ec
|
@ -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]}"
|
||||||
|
|
Loading…
Reference in a new issue