python3Packages.pycasperglow: init at 1.2.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user