depot/third_party/nixpkgs/pkgs/development/python-modules/aiozeroconf/default.nix

36 lines
720 B
Nix
Raw Normal View History

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