1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
Fabian Affolter 2024-04-03 22:34:20 +02:00 committed by Martin Weinelt
parent ab5596659f
commit 962421a9e7
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -14,30 +14,30 @@
buildPythonPackage rec {
pname = "zeroconf";
version = "0.131.0";
format = "pyproject";
version = "0.132.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jstasiak";
repo = "python-zeroconf";
rev = "refs/tags/${version}";
hash = "sha256-l+uz+wj+tgptxEjEN8ZlmxH8I4Nhrg8qAY3yCcOgBfE=";
hash = "sha256-eHB+SkJU5aTQPF7QqRhYHMBJgN7EYZkwtk7gjxWxIno=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "Cython>=3.0.5" "Cython"
--replace-fail "Cython>=3.0.8" "Cython"
'';
nativeBuildInputs = [
build-system = [
cython_3
poetry-core
setuptools
];
propagatedBuildInputs = [
dependencies = [
ifaddr
] ++ lib.optionals (pythonOlder "3.11") [
async-timeout
@ -70,9 +70,9 @@ buildPythonPackage rec {
];
meta = with lib; {
changelog = "https://github.com/python-zeroconf/python-zeroconf/releases/tag/${version}";
description = "Python implementation of multicast DNS service discovery";
homepage = "https://github.com/python-zeroconf/python-zeroconf";
changelog = "https://github.com/python-zeroconf/python-zeroconf/releases/tag/${version}";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ abbradar ];
};