mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
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:
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user