Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, paho-mqtt, pytestCheckHook, pythonOlder, pycryptodomex, requests, retrying, setuptools,}:
buildPythonPackage rec { pname = "meross-iot"; version = "0.4.7.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "albertogeniola"; repo = "MerossIot"; rev = "refs/tags/${version}"; hash = "sha256-BcWluaNyo6G7OuIV6yXzc7xcBgQlRR9HbjbNnLigZcE="; };
build-system = [ setuptools ];
dependencies = [ aiohttp paho-mqtt pycryptodomex requests retrying ];
# Test require network access doCheck = false;
pythonImportsCheck = [ "meross_iot" ];
meta = with lib; { description = "Python library to interact with Meross devices"; homepage = "https://github.com/albertogeniola/MerossIot"; changelog = "https://github.com/albertogeniola/MerossIot/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}