nixpkgs/pkgs/development/python-modules/aiozeroconf/default.nix
2024-04-18 17:31:35 +02:00

36 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";
};
}