python3Packages.py-opendisplay: init at 5.5.0

This commit is contained in:
Jamie Magee
2026-04-04 20:00:18 -07:00
parent c1b793e5de
commit cc3ea1466e
@@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
bleak,
bleak-retry-connector,
epaper-dithering,
numpy,
pillow,
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage (finalAttrs: {
pname = "py-opendisplay";
version = "5.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "OpenDisplay";
repo = "py-opendisplay";
tag = "v${finalAttrs.version}";
hash = "sha256-pPV4Ir9GK++66qq5QGnwyjpBinK7EvI7C7HB14tFDXU=";
};
build-system = [ hatchling ];
dependencies = [
bleak
bleak-retry-connector
epaper-dithering
numpy
pillow
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "opendisplay" ];
meta = {
description = "Python library for communicating with OpenDisplay BLE e-paper displays";
homepage = "https://github.com/OpenDisplay/py-opendisplay";
changelog = "https://github.com/OpenDisplay/py-opendisplay/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})