Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
969 B · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, setuptools, aiofiles, aiohttp, colorlog, commonregex, defusedxml, deprecated, ifaddr, pycryptodome, platformdirs,}:
buildPythonPackage rec { pname = "midea-local"; version = "6.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "midea-lan"; repo = "midea-local"; tag = "v${version}"; hash = "sha256-J044JyRrpig2RmX39tvxBbjFExFouK3++0mvaPN+8To="; };
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/${src.tag}"; maintainers = with maintainers; [ k900 ]; license = licenses.mit; };}