depot/third_party/nixpkgs/pkgs/development/python-modules/aiozeroconf/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

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