mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #228974 from fabaff/lakeside
python310Packages.lakeside: init at 0.13
This commit is contained in:
commit
81c912bbfc
44
pkgs/development/python-modules/lakeside/default.nix
Normal file
44
pkgs/development/python-modules/lakeside/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1008,7 +1008,8 @@
|
|||||||
"etherscan" = ps: with ps; [
|
"etherscan" = ps: with ps; [
|
||||||
]; # missing inputs: python-etherscan-api
|
]; # missing inputs: python-etherscan-api
|
||||||
"eufy" = ps: with ps; [
|
"eufy" = ps: with ps; [
|
||||||
]; # missing inputs: lakeside
|
lakeside
|
||||||
|
];
|
||||||
"eufylife_ble" = ps: with ps; [
|
"eufylife_ble" = ps: with ps; [
|
||||||
aioesphomeapi
|
aioesphomeapi
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
|
@ -5376,6 +5376,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
labmath = callPackage ../development/python-modules/labmath { };
|
labmath = callPackage ../development/python-modules/labmath { };
|
||||||
|
|
||||||
|
lakeside = callPackage ../development/python-modules/lakeside { };
|
||||||
|
|
||||||
langcodes = callPackage ../development/python-modules/langcodes { };
|
langcodes = callPackage ../development/python-modules/langcodes { };
|
||||||
|
|
||||||
langdetect = callPackage ../development/python-modules/langdetect { };
|
langdetect = callPackage ../development/python-modules/langdetect { };
|
||||||
|
Loading…
Reference in New Issue
Block a user