587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
35 lines
720 B
Nix
35 lines
720 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
netifaces,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiozeroconf";
|
|
version = "0.1.8";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ENupazLlOqfwHugNLEgeTZjPOYxRgznuCKHpU5unlxw=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ netifaces ];
|
|
|
|
pythonImportsCheck = [ "aiozeroconf" ];
|
|
|
|
meta = with lib; {
|
|
description = "Implementation of multicast DNS service discovery";
|
|
homepage = "https://github.com/jstasiak/python-zeroconf";
|
|
license = licenses.lgpl21Only;
|
|
maintainers = with maintainers; [ obadz ];
|
|
mainProgram = "aiozeroconf";
|
|
};
|
|
}
|