python3Packages.pilight: drop

This commit is contained in:
Martin Weinelt
2026-05-06 22:31:23 +02:00
parent 76af8b0093
commit ecbf0fe777
3 changed files with 1 additions and 41 deletions

View File

@@ -1,39 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pilight";
version = "0.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "DavidLP";
repo = "pilight";
tag = version;
hash = "sha256-8KLEeyf1uwYjsBfIoi+736cu+We6OjLvptCXL539bDA=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
substituteInPlace pilight/test/test_client.py \
--replace-fail "from mock import patch, call" "from unittest.mock import patch, call" \
--replace-fail "pilight_client.isAlive()" "pilight_client.is_alive()"
'';
pythonImportsCheck = [ "pilight" ];
meta = {
description = "Pure python module to connect to a pilight daemon to send and receive commands";
homepage = "https://github.com/DavidLP/pilight";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}

View File

@@ -379,6 +379,7 @@ mapAliases {
pdfminer = throw "'pdfminer' has been renamed to/replaced by 'pdfminer-six'"; # Converted to throw 2025-10-29
pep257 = throw "'pep257' has been renamed to/replaced by 'pydocstyle'"; # Converted to throw 2025-10-29
percol = throw "percol has been removed because it hasn't been updated since 2019"; # added 2025-05-25
pilight = throw "'pilight' has been removed, because it is unmaintained since 2019 and the integration was removed from Home Assistant."; # added 2026-05-06
pillow-avif-plugin = throw "'pillow-avif-plugin' has been removed because 'pillow' has native avif support since 11.3"; # added 2025-11-26
pizzapi = throw "pizzapi was removed because it no longer works"; # added 2025-12-03
pkuseg = throw "'pkuseg' has been removed because it was not supported on newer versions of Python"; # added 2026-01-20

View File

@@ -12516,8 +12516,6 @@ self: super: with self; {
pikepdf = callPackage ../development/python-modules/pikepdf { };
pilight = callPackage ../development/python-modules/pilight { };
pilkit = callPackage ../development/python-modules/pilkit { };
pillow = callPackage ../development/python-modules/pillow {