pulseaudio-dlna: add missing setuptools dep

This commit is contained in:
Jonathan Ringer 2020-02-20 22:10:42 -08:00 committed by Jon
parent 92055b17c5
commit 75b79b76d8

View File

@ -16,10 +16,10 @@ assert vorbisSupport -> vorbisTools != null;
let let
zeroconf = pythonPackages.callPackage ./zeroconf.nix { }; zeroconf = pythonPackages.callPackage ./zeroconf.nix { };
in
in pythonPackages.buildPythonApplication { pythonPackages.buildPythonApplication {
pname = "pulseaudio-dlna"; pname = "pulseaudio-dlna";
version = "2017-11-01"; version = "unstable-2017-11-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "masmu"; owner = "masmu";
@ -28,12 +28,9 @@ in pythonPackages.buildPythonApplication {
sha256 = "1dfn7036vrq49kxv4an7rayypnm5dlawsf02pfsldw877hzdamqk"; sha256 = "1dfn7036vrq49kxv4an7rayypnm5dlawsf02pfsldw877hzdamqk";
}; };
# pulseaudio-dlna has no tests
doCheck = false;
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with pythonPackages; [
dbus-python docopt requests setproctitle protobuf psutil futures dbus-python docopt requests setproctitle protobuf psutil futures
chardet notify2 netifaces pyroute2 pygobject2 lxml ] chardet notify2 netifaces pyroute2 pygobject2 lxml setuptools ]
++ [ zeroconf ] ++ [ zeroconf ]
++ stdenv.lib.optional mp3Support lame ++ stdenv.lib.optional mp3Support lame
++ stdenv.lib.optional opusSupport opusTools ++ stdenv.lib.optional opusSupport opusTools
@ -42,12 +39,15 @@ in pythonPackages.buildPythonApplication {
++ stdenv.lib.optional soxSupport sox ++ stdenv.lib.optional soxSupport sox
++ stdenv.lib.optional vorbisSupport vorbisTools; ++ stdenv.lib.optional vorbisSupport vorbisTools;
# upstream has no tests
checkPhase = ''
$out/bin/pulseaudio-dlna --help > /dev/null
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A lightweight streaming server which brings DLNA / UPNP and Chromecast support to PulseAudio and Linux"; description = "A lightweight streaming server which brings DLNA / UPNP and Chromecast support to PulseAudio and Linux";
homepage = https://github.com/masmu/pulseaudio-dlna; homepage = "https://github.com/masmu/pulseaudio-dlna";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ mog ]; maintainers = with maintainers; [ mog ];
platforms = platforms.linux; platforms = platforms.linux;
}; };