python3Packages.pycasperglow: init at 1.2.0

This commit is contained in:
Jamie Magee
2026-05-07 00:06:59 -07:00
parent ac9b287b65
commit 6fca5036a8
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
bleak,
bleak-retry-connector,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "pycasperglow";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mikeodr";
repo = "pycasperglow";
tag = "v${finalAttrs.version}";
hash = "sha256-sLjEo8GSGBtx0GDAHQZad5ePQAwzChdmBE5TU+ebuFI=";
};
build-system = [ setuptools ];
dependencies = [
bleak
bleak-retry-connector
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pycasperglow" ];
meta = {
description = "Async Python library for controlling Casper Glow lights via BLE";
homepage = "https://github.com/mikeodr/pycasperglow";
changelog = "https://github.com/mikeodr/pycasperglow/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
+2
View File
@@ -13516,6 +13516,8 @@ self: super: with self; {
pycasbin = callPackage ../development/python-modules/pycasbin { };
pycasperglow = callPackage ../development/python-modules/pycasperglow { };
pycatch22 = callPackage ../development/python-modules/pycatch22 { };
pycayennelpp = callPackage ../development/python-modules/pycayennelpp { };