mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 13:03:34 +00:00
Merge pull request #305082 from fabaff/aiozeroconf-refactor
python312Packages.aiozeroconf: refactor
This commit is contained in:
commit
d5d6cdf6f6
@ -1,28 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, netifaces
|
||||
, isPy27
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
netifaces,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiozeroconf";
|
||||
version = "0.1.8";
|
||||
format = "setuptools";
|
||||
disabled = isPy27;
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "074plydm7sd113p3k0siihwwz62d3r42q3g83vqaffp569msknqh";
|
||||
hash = "sha256-ENupazLlOqfwHugNLEgeTZjPOYxRgznuCKHpU5unlxw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ netifaces ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ netifaces ];
|
||||
|
||||
pythonImportsCheck = [ "aiozeroconf" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pure python implementation of multicast DNS service discovery";
|
||||
mainProgram = "aiozeroconf";
|
||||
description = "Implementation of multicast DNS service discovery";
|
||||
homepage = "https://github.com/jstasiak/python-zeroconf";
|
||||
license = licenses.lgpl21;
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ obadz ];
|
||||
mainProgram = "aiozeroconf";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user