Merge pull request #282013 from fabaff/lmcloud-bump

python311Packages.lmcloud: init at 0.4.35
This commit is contained in:
Fabian Affolter 2024-01-19 20:21:35 +01:00 committed by GitHub
commit b4ee3c3cc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 56 additions and 1 deletions

View file

@ -0,0 +1,51 @@
{ lib
, authlib
, bleak
, buildPythonPackage
, fetchFromGitHub
, httpx
, pythonOlder
, setuptools
, websockets
}:
buildPythonPackage rec {
pname = "lmcloud";
version = "0.4.35";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "zweckj";
repo = "lmcloud";
rev = "refs/tags/v${version}";
hash = "sha256-TUve21yamtEmEceK/V1w7IZjnMgKConMfSY/GlqFpp8=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
authlib
bleak
httpx
websockets
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"lmcloud"
];
meta = with lib; {
description = "Library to interface with La Marzocco's cloud";
homepage = "https://github.com/zweckj/lmcloud";
changelog = "https://github.com/zweckj/lmcloud/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -4507,7 +4507,8 @@
paho-mqtt
];
"snmp" = ps: with ps; [
]; # missing inputs: pysnmp-lextudio
pysnmp-lextudio
];
"snooz" = ps: with ps; [
aioesphomeapi
aiohttp-cors
@ -6317,6 +6318,7 @@
"smtp"
"snapcast"
"snips"
"snmp"
"snooz"
"solaredge"
"solarlog"

View file

@ -6587,6 +6587,8 @@ self: super: with self; {
llvm = pkgs.llvm_14;
};
lmcloud = callPackage ../development/python-modules/lmcloud { };
lmdb = callPackage ../development/python-modules/lmdb {
inherit (pkgs) lmdb;
};