Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
956 B · 47 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, paho-mqtt, pytestCheckHook, pythonOlder, requests, retrying}:
buildPythonPackage rec { pname = "meross-iot"; version = "0.4.5.9"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "albertogeniola"; repo = "MerossIot"; rev = "refs/tags/${version}"; hash = "sha256-Wyg9Y4THnjNTWQsiOanoyEEBqVgsG5MeyoGE69/n8sM="; };
propagatedBuildInputs = [ aiohttp paho-mqtt 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 ]; };}