Commit 76b688c1 authored by K900's avatar K900
Browse files

python312Packages.midea-local: init at 6.0.3

parent 12672f38
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  aiofiles,
  aiohttp,
  colorlog,
  commonregex,
  defusedxml,
  deprecated,
  ifaddr,
  pycryptodome,
  platformdirs,
}:

buildPythonPackage rec {
  pname = "midea-local";
  version = "6.0.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "midea-lan";
    repo = pname;
    tag = "v${version}";
    hash = "sha256-Q0ua0cIYfZ60RzrRNatx+a1nz1f51rR2D5IS5abXKME=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiofiles
    aiohttp
    colorlog
    commonregex
    defusedxml
    deprecated
    ifaddr
    pycryptodome
    platformdirs
  ];

  meta = with lib; {
    description = " Control your Midea M-Smart appliances via local area network";
    homepage = "https://github.com/midea-lan/midea-local";
    changelog = "https://github.com/midea-lan/midea-local/releases/tag/v${version}";
    maintainers = with maintainers; [ k900 ];
    license = licenses.mit;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8163,6 +8163,8 @@ self: super: with self; {
  midea-beautiful-air = callPackage ../development/python-modules/midea-beautiful-air { };
  midea-local = callPackage ../development/python-modules/midea-local { };
  midiutil = callPackage ../development/python-modules/midiutil { };
  mido = callPackage ../development/python-modules/mido { };