Files
nixpkgs/pkgs/development/python-modules/midea-local/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

51 lines
967 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiofiles,
aiohttp,
colorlog,
commonregex,
defusedxml,
deprecated,
ifaddr,
pycryptodome,
platformdirs,
}:
buildPythonPackage rec {
pname = "midea-local";
version = "6.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "midea-lan";
repo = "midea-local";
tag = "v${version}";
hash = "sha256-l5wV6W0CR3Jlir1DEpuh7/I8hGnH5+yrq0JjKcFh4sk=";
};
build-system = [ setuptools ];
dependencies = [
aiofiles
aiohttp
colorlog
commonregex
defusedxml
deprecated
ifaddr
pycryptodome
platformdirs
];
meta = {
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/${src.tag}";
maintainers = with lib.maintainers; [ k900 ];
license = lib.licenses.mit;
};
}