Merge pull request #282013 from fabaff/lmcloud-bump
python311Packages.lmcloud: init at 0.4.35
This commit is contained in:
commit
b4ee3c3cc4
3 changed files with 56 additions and 1 deletions
51
pkgs/development/python-modules/lmcloud/default.nix
Normal file
51
pkgs/development/python-modules/lmcloud/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue