python3Packages.py-opendisplay: 7.2.3 -> 7.15.0

https://github.com/OpenDisplay/py-opendisplay/releases/tag/v7.15.0
This commit is contained in:
Martin Weinelt
2026-08-05 18:53:03 +02:00
parent 16d6ddd967
commit c32053e472

View File

@@ -7,22 +7,26 @@
bleak-retry-connector,
cryptography,
epaper-dithering,
nrf-ota,
numpy,
pillow,
pytestCheckHook,
pytest-asyncio,
silabs-ble-ota,
rich,
zeroconf,
}:
buildPythonPackage (finalAttrs: {
pname = "py-opendisplay";
version = "7.2.3";
version = "7.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "OpenDisplay";
repo = "py-opendisplay";
tag = "v${finalAttrs.version}";
hash = "sha256-ByLbrsIbyCHNvzJuMy7kat6gWoU8Bb42adH03CH+G+g=";
hash = "sha256-tvKLbUWBzuhOe2lsctYXRl7FI0HMNv9U2+Pyt9xUsBs=";
};
build-system = [ hatchling ];
@@ -36,12 +40,20 @@ buildPythonPackage (finalAttrs: {
pillow
];
optional-dependencies = {
cli = [ rich ];
wifi = [ zeroconf ];
nrf-ota = [ nrf-ota ];
silabs-ota = [ silabs-ble-ota ];
};
pythonRelaxDeps = [ "epaper-dithering" ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
]
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
pythonImportsCheck = [ "opendisplay" ];