13 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
23 rev = "refs/tags/${version}";
24 hash = "sha256-Bu8wl5Qtys1sy5FnB+2NCGnXnuq9u+TUUR9zNdlOFTU=";
28 # hbmqtt was replaced by amqtt
29 substituteInPlace tests/test_roomba_integration.py \
30 --replace "from hbmqtt.broker import Broker" "from amqtt.broker import Broker"
32 substituteInPlace pyproject.toml \
33 --replace 'orjson = ">=3.8.7"' 'orjson = "*"'
40 propagatedBuildInputs = [
52 # Requires network access
53 "tests/test_discovery.py"
57 # Test want to connect to a local MQTT broker
61 pythonImportsCheck = [
66 description = "Python program and library to control Wi-Fi enabled iRobot Roombas";
67 homepage = "https://github.com/pschmitt/roombapy";
68 changelog = "https://github.com/pschmitt/roombapy/releases/tag/${version}";
69 license = licenses.mit;