21 buildPythonPackage rec {
22 pname = "python-roborock";
26 disabled = pythonOlder "3.10";
28 src = fetchFromGitHub {
29 owner = "humbertogontijo";
30 repo = "python-roborock";
31 rev = "refs/tags/v${version}";
32 hash = "sha256-3XTVHs+mLePudLnr+bAN4pHvHtUcE0D5Hw+50Vxhlzw=";
36 substituteInPlace pyproject.toml \
37 --replace "poetry-core==1.6.1" "poetry-core"
49 propagatedBuildInputs = [
58 ] ++ lib.optionals stdenv.isDarwin [
67 pythonImportsCheck = [
72 description = "Python library & console tool for controlling Roborock vacuum";
73 homepage = "https://github.com/humbertogontijo/python-roborock";
74 changelog = "https://github.com/humbertogontijo/python-roborock/blob/v${version}/CHANGELOG.md";
75 license = licenses.gpl3Only;
76 maintainers = with maintainers; [ fab ];