python3Packages.pyoppleio-legacy: init at 1.0.8 (#432674)

This commit is contained in:
Martin Weinelt
2025-08-11 13:00:53 +02:00
committed by GitHub
3 changed files with 42 additions and 1 deletions
@@ -0,0 +1,38 @@
{
lib,
buildPythonPackage,
crc16,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage {
pname = "pyoppleio-legacy";
version = "1.0.8";
pyproject = true;
src = fetchFromGitHub {
owner = "tinysnake";
repo = "python-oppleio-legacy";
rev = "90c57f778554fcf3a00e42757d0e92caebcfd149";
hash = "sha256-ccvMn/jQSkW11uMwG3P+i53NiDj+MNZgJYEkouQ1tvU=";
};
build-system = [ setuptools ];
# Package has a runtime dependency on 'pycrc16' but we provide 'crc16'
# They provide the same crc16 module
pythonRemoveDeps = [ "pycrc16" ];
dependencies = [ crc16 ];
# Package has no tests
doCheck = false;
meta = {
description = "Python library for interfacing with Opple WiFi lights (legacy firmware support)";
homepage = "https://github.com/tinysnake/python-oppleio-legacy";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
@@ -4250,7 +4250,8 @@
];
"opple" =
ps: with ps; [
]; # missing inputs: pyoppleio-legacy
pyoppleio-legacy
];
"oralb" =
ps: with ps; [
aioesphomeapi
+2
View File
@@ -13470,6 +13470,8 @@ self: super: with self; {
pyoppleio = callPackage ../development/python-modules/pyoppleio { };
pyoppleio-legacy = callPackage ../development/python-modules/pyoppleio-legacy { };
pyorc = callPackage ../development/python-modules/pyorc { };
pyorthanc = callPackage ../development/python-modules/pyorthanc { };