summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/aiozeroconf/default.nix
blob: f6397d3c2a9a21f3a3cc2d4b2d1413442d74cac8 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  netifaces,
  setuptools,
}:

buildPythonPackage rec {
  pname = "aiozeroconf";
  version = "0.1.8";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ENupazLlOqfwHugNLEgeTZjPOYxRgznuCKHpU5unlxw=";
  };

  build-system = [ setuptools ];

  dependencies = [ netifaces ];

  pythonImportsCheck = [ "aiozeroconf" ];

  meta = {
    description = "Implementation of multicast DNS service discovery";
    homepage = "https://github.com/jstasiak/python-zeroconf";
    license = lib.licenses.lgpl21Only;
    maintainers = with lib.maintainers; [ obadz ];
    mainProgram = "aiozeroconf";
  };
}