Merge pull request #228974 from fabaff/lakeside

python310Packages.lakeside: init at 0.13
This commit is contained in:
Martin Weinelt 2023-05-01 00:33:07 +02:00 committed by GitHub
commit 81c912bbfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 1 deletions

View file

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, protobuf
, pycryptodome
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "lakeside";
version = "0.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nkgilley";
repo = "python-lakeside";
rev = "refs/tags/${version}";
hash = "sha256-Y5g78trkwOF3jsbgTv0uVkvfB1HZN+w1T6xIorxGAhg=";
};
propagatedBuildInputs = [
protobuf
pycryptodome
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"lakeside"
];
meta = with lib; {
description = "Library for controlling LED bulbs from Eufy";
homepage = "https://github.com/nkgilley/python-lakeside";
changelog = "https://github.com/nkgilley/python-lakeside/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1008,7 +1008,8 @@
"etherscan" = ps: with ps; [
]; # missing inputs: python-etherscan-api
"eufy" = ps: with ps; [
]; # missing inputs: lakeside
lakeside
];
"eufylife_ble" = ps: with ps; [
aioesphomeapi
aiohttp-cors

View file

@ -5376,6 +5376,8 @@ self: super: with self; {
labmath = callPackage ../development/python-modules/labmath { };
lakeside = callPackage ../development/python-modules/lakeside { };
langcodes = callPackage ../development/python-modules/langcodes { };
langdetect = callPackage ../development/python-modules/langdetect { };