Files
nixpkgs/pkgs/development/python-modules/aiozeroconf/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

29 lines
632 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, netifaces
, isPy27
}:
buildPythonPackage rec {
pname = "aiozeroconf";
version = "0.1.8";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "074plydm7sd113p3k0siihwwz62d3r42q3g83vqaffp569msknqh";
};
propagatedBuildInputs = [ netifaces ];
meta = with lib; {
description = "A pure python implementation of multicast DNS service discovery";
mainProgram = "aiozeroconf";
homepage = "https://github.com/jstasiak/python-zeroconf";
license = licenses.lgpl21;
maintainers = with maintainers; [ obadz ];
};
}