@@ -4,7 +4,7 @@
44, faacSupport ? false, faac ? null
55, flacSupport ? true, flac ? null
66, soxSupport ? true, sox ? null
7−, vorbisSupport ? true, vorbisTools ? null
7+, vorbisSupport ? true, vorbisTools ? null
88}:
99
1010assert mp3Support -> lame != null;
@@ -14,7 +14,10 @@ assert flacSupport -> flac != null;
1414assert soxSupport -> sox != null;
1515assert vorbisSupport -> vorbisTools != null;
1616
17−pythonPackages.buildPythonApplication rec {
17+let
18+ zeroconf = pythonPackages.callPackage ./zeroconf.nix { };
19+
20+in pythonPackages.buildPythonApplication rec {
1821 pname = "pulseaudio-dlna";
1922 version = "2017-11-01";
2023
@@ -24,13 +27,14 @@ pythonPackages.buildPythonApplication rec {
2427 rev = "4472928dd23f274193f14289f59daec411023ab0";
2528 sha256 = "1dfn7036vrq49kxv4an7rayypnm5dlawsf02pfsldw877hzdamqk";
2629 };
27−
30+
2831 # pulseaudio-dlna has no tests
2932 doCheck = false;
3033
3134 propagatedBuildInputs = with pythonPackages; [
3235 dbus-python docopt requests setproctitle protobuf psutil futures
33− chardet notify2 netifaces pyroute2 pygobject2 lxml zeroconf ]
36+ chardet notify2 netifaces pyroute2 pygobject2 lxml ]
37+ ++ [ zeroconf ]
3438 ++ stdenv.lib.optional mp3Support lame
3539 ++ stdenv.lib.optional opusSupport opusTools
3640 ++ stdenv.lib.optional faacSupport faac