about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiozeroconf/default.nix
blob: aba0ed77c731d38d83c6efcd993c804cb71e7200 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  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";
  };
}