From 552868e18d832ef9f97d0115bb9501155f08f479 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Nov 2021 09:19:09 +0100 Subject: [PATCH] python3Packages.roombapy: 1.6.3 -> 1.6.4 --- .../python-modules/roombapy/default.nix | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/roombapy/default.nix b/pkgs/development/python-modules/roombapy/default.nix index 459037d6191e..cc73e58fc7b8 100644 --- a/pkgs/development/python-modules/roombapy/default.nix +++ b/pkgs/development/python-modules/roombapy/default.nix @@ -11,20 +11,25 @@ buildPythonPackage rec { pname = "roombapy"; - version = "1.6.3"; + version = "1.6.4"; format = "pyproject"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pschmitt"; repo = "roombapy"; rev = version; - sha256 = "sha256-GkDfIC2jx4Mpguk/Wu45pZw0czhabJwTz58WYSLCOV8="; + sha256 = "sha256-EN+em+lULAUplXlhcU409ZVPk9BfMmD2oNwO0ETuqoA="; }; - nativeBuildInputs = [ poetry-core ]; + nativeBuildInputs = [ + poetry-core + ]; - propagatedBuildInputs = [ paho-mqtt ]; + propagatedBuildInputs = [ + paho-mqtt + ]; checkInputs = [ amqtt @@ -37,12 +42,19 @@ buildPythonPackage rec { "tests/test_discovery.py" ]; - pythonImportsCheck = [ "roombapy" ]; + disabledTests = [ + # Test want to connect to a local MQTT broker + "test_roomba_connect" + ]; + + pythonImportsCheck = [ + "roombapy" + ]; meta = with lib; { - homepage = "https://github.com/pschmitt/roombapy"; description = "Python program and library to control Wi-Fi enabled iRobot Roombas"; - maintainers = with maintainers; [ justinas ]; + homepage = "https://github.com/pschmitt/roombapy"; license = licenses.mit; + maintainers = with maintainers; [ justinas ]; }; }