diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-02-20 22:10:42 -0800 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-02-21 14:09:15 -0800 |
commit | 75b79b76d846a3b507e21fcc1a6d7949955c8344 (patch) | |
tree | 06bd37b2026ff57d74f04143b874c3594ddef1cd | |
parent | 92055b17c5a47f11b806cc615de0e0b43eb822ef (diff) | |
download | nixpkgs-75b79b76d846a3b507e21fcc1a6d7949955c8344.tar nixpkgs-75b79b76d846a3b507e21fcc1a6d7949955c8344.tar.gz nixpkgs-75b79b76d846a3b507e21fcc1a6d7949955c8344.tar.bz2 nixpkgs-75b79b76d846a3b507e21fcc1a6d7949955c8344.tar.lz nixpkgs-75b79b76d846a3b507e21fcc1a6d7949955c8344.tar.xz nixpkgs-75b79b76d846a3b507e21fcc1a6d7949955c8344.tar.zst nixpkgs-75b79b76d846a3b507e21fcc1a6d7949955c8344.zip |
pulseaudio-dlna: add missing setuptools dep
-rw-r--r-- | pkgs/applications/audio/pulseaudio-dlna/default.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/applications/audio/pulseaudio-dlna/default.nix b/pkgs/applications/audio/pulseaudio-dlna/default.nix index a9f56cca001..75990d593df 100644 --- a/pkgs/applications/audio/pulseaudio-dlna/default.nix +++ b/pkgs/applications/audio/pulseaudio-dlna/default.nix @@ -16,10 +16,10 @@ assert vorbisSupport -> vorbisTools != null; let zeroconf = pythonPackages.callPackage ./zeroconf.nix { }; - -in pythonPackages.buildPythonApplication { +in +pythonPackages.buildPythonApplication { pname = "pulseaudio-dlna"; - version = "2017-11-01"; + version = "unstable-2017-11-01"; src = fetchFromGitHub { owner = "masmu"; @@ -28,12 +28,9 @@ in pythonPackages.buildPythonApplication { sha256 = "1dfn7036vrq49kxv4an7rayypnm5dlawsf02pfsldw877hzdamqk"; }; - # pulseaudio-dlna has no tests - doCheck = false; - propagatedBuildInputs = with pythonPackages; [ dbus-python docopt requests setproctitle protobuf psutil futures - chardet notify2 netifaces pyroute2 pygobject2 lxml ] + chardet notify2 netifaces pyroute2 pygobject2 lxml setuptools ] ++ [ zeroconf ] ++ stdenv.lib.optional mp3Support lame ++ stdenv.lib.optional opusSupport opusTools @@ -42,12 +39,15 @@ in pythonPackages.buildPythonApplication { ++ stdenv.lib.optional soxSupport sox ++ stdenv.lib.optional vorbisSupport vorbisTools; + # upstream has no tests + checkPhase = '' + $out/bin/pulseaudio-dlna --help > /dev/null + ''; + meta = with stdenv.lib; { 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; - maintainers = with maintainers; [ mog ]; platforms = platforms.linux; }; |