python3Packages.zeroconf: 0.31.0 -> 0.32.0
This commit is contained in:
parent
15dab3835f
commit
10bc114e32
@ -1,32 +1,41 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, ifaddr
|
||||
, pytest-asyncio
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.31.0";
|
||||
version = "0.32.0";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-U6GAJIRxxvgb0f/8vOA+2T19jq8QkFyRIaweqZbRmEQ=";
|
||||
# no tests in pypi sdist
|
||||
src = fetchFromGitHub {
|
||||
owner = "jstasiak";
|
||||
repo = "python-zeroconf";
|
||||
rev = version;
|
||||
sha256 = "08fnpc236v4n9vrxjj6y2xsm06ax0bnygxf294m6lhwmn1vygy7i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ifaddr ];
|
||||
propagatedBuildInputs = [
|
||||
ifaddr
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pytestFlagsArray = [ "zeroconf/test.py" ];
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# disable tests that expect some sort of networking in the build container
|
||||
# tests that require network interaction
|
||||
"test_close_multiple_times"
|
||||
"test_launch_and_close"
|
||||
"test_launch_and_close_context_manager"
|
||||
"test_launch_and_close_v4_v6"
|
||||
"test_launch_and_close_v6_only"
|
||||
"test_integration_with_listener_ipv6"
|
||||
@ -36,7 +45,10 @@ buildPythonPackage rec {
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
pythonImportsCheck = [ "zeroconf" ];
|
||||
pythonImportsCheck = [
|
||||
"zeroconf"
|
||||
"zeroconf.asyncio"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of multicast DNS service discovery";
|
||||
|
Loading…
Reference in New Issue
Block a user