python314Packages.lifx-emulator-core: init at 3.6.3

This commit is contained in:
Sandro Jäckel
2026-05-09 04:07:16 +02:00
parent 1d08d405a0
commit d295473de0
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pydantic,
pytest-asyncio,
pytestCheckHook,
pyyaml,
writableTmpDirAsHomeHook,
}:
buildPythonPackage (finalAttrs: {
pname = "lifx-emulator-core";
version = "3.6.3";
pyproject = true;
src = fetchFromGitHub {
owner = "Djelibeybi";
repo = "lifx-emulator";
tag = "core-v${finalAttrs.version}";
hash = "sha256-bZ+u/OKFDYV0kQLeVQPDyLKC9KCTJydbl0xnuOsrh+0=";
};
sourceRoot = "${finalAttrs.src.name}/packages/lifx-emulator-core";
build-system = [ hatchling ];
dependencies = [
pydantic
pyyaml
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
writableTmpDirAsHomeHook
];
pythonImportsCheck = [ "lifx_emulator" ];
meta = {
description = "Core Python library for emulating LIFX devices using the LAN protocol";
homepage = "https://github.com/Djelibeybi/lifx-emulator/tree/main/packages/lifx-emulator-core";
license = lib.licenses.upl;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
})
+2
View File
@@ -8985,6 +8985,8 @@ self: super: with self; {
lifelines = callPackage ../development/python-modules/lifelines { };
lifx-emulator-core = callPackage ../development/python-modules/lifx-emulator-core { };
lightgbm = callPackage ../development/python-modules/lightgbm { };
lightify = callPackage ../development/python-modules/lightify { };