Unverified Commit b4ee3c3c authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #282013 from fabaff/lmcloud-bump

python311Packages.lmcloud: init at 0.4.35
parents 06567e16 39502fae
Loading
Loading
Loading
Loading
+51 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -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"
+2 −0
Original line number Diff line number Diff line
@@ -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;
  };