1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 netifaces,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "aiozeroconf";
12 version = "0.1.8";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-ENupazLlOqfwHugNLEgeTZjPOYxRgznuCKHpU5unlxw=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [ netifaces ];
25
26 pythonImportsCheck = [ "aiozeroconf" ];
27
28 meta = with lib; {
29 description = "Implementation of multicast DNS service discovery";
30 homepage = "https://github.com/jstasiak/python-zeroconf";
31 license = licenses.lgpl21Only;
32 maintainers = with maintainers; [ obadz ];
33 mainProgram = "aiozeroconf";
34 };
35}