treewide: stdenv.lib -> lib
This commit is contained in:
@@ -32,12 +32,12 @@ pythonPackages.buildPythonApplication {
|
||||
dbus-python docopt requests setproctitle protobuf psutil futures
|
||||
chardet notify2 netifaces pyroute2 pygobject2 lxml setuptools ]
|
||||
++ [ zeroconf ]
|
||||
++ stdenv.lib.optional mp3Support lame
|
||||
++ stdenv.lib.optional opusSupport opusTools
|
||||
++ stdenv.lib.optional faacSupport faac
|
||||
++ stdenv.lib.optional flacSupport flac
|
||||
++ stdenv.lib.optional soxSupport sox
|
||||
++ stdenv.lib.optional vorbisSupport vorbis-tools;
|
||||
++ lib.optional mp3Support lame
|
||||
++ lib.optional opusSupport opusTools
|
||||
++ lib.optional faacSupport faac
|
||||
++ lib.optional flacSupport flac
|
||||
++ lib.optional soxSupport sox
|
||||
++ lib.optional vorbisSupport vorbis-tools;
|
||||
|
||||
# upstream has no tests
|
||||
checkPhase = ''
|
||||
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ netifaces six enum-compat ifaddr ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];
|
||||
++ lib.optionals (pythonOlder "3.5") [ typing ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pure python implementation of multicast DNS service discovery";
|
||||
|
||||
Reference in New Issue
Block a user