python3Packages.roombapy: init at 1.6.2.post1

This commit is contained in:
Justinas Stankevicius 2021-01-17 17:15:23 +02:00
parent 3876561795
commit 607505005e
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ buildPythonPackage
, fetchFromGitHub
, hbmqtt
, lib
, paho-mqtt
, poetry
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "roombapy";
version = "1.6.2-1";
src = fetchFromGitHub {
owner = "pschmitt";
repo = "roombapy";
rev = version;
sha256 = "14k7bys479xwpa4alpdwphzmxm3x8kc48nfqnshn1wj94vyxc425";
};
format = "pyproject";
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ paho-mqtt ];
checkInputs = [ hbmqtt pytest-asyncio pytestCheckHook ];
pytestFlagsArray = [ "tests/" "--ignore=tests/test_discovery.py" ];
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 ];
license = licenses.mit;
};
}

View File

@ -6726,6 +6726,8 @@ in {
roman = callPackage ../development/python-modules/roman { };
roombapy = callPackage ../development/python-modules/roombapy { };
rope = callPackage ../development/python-modules/rope { };
ROPGadget = callPackage ../development/python-modules/ROPGadget { };