Files
2026-04-04 14:22:13 +02:00

35 lines
702 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "lightwave2";
version = "0.9.0";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-7NFzfUDIDa36VfOsqcaAx8AbWHftfwTyYr0hu6VyAtI=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "lightwave2" ];
meta = {
description = "Library to interact with LightWaveRF 2nd Gen lights and switches";
homepage = "https://github.com/bigbadblunt/lightwave2";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})