Compare commits

2 Commits

Author SHA1 Message Date
mjallen18
9b1c9a6371 stuff 2026-03-03 15:21:30 -06:00
mjallen18
b0ecedaf2a stuff 2026-03-03 15:21:30 -06:00
2 changed files with 1 additions and 70 deletions

View File

@@ -12,7 +12,7 @@ python3Packages.buildPythonPackage rec {
src = python3Packages.fetchPypi {
inherit pname version;
hash = "sha256-HS33yTE+3n0DKRD4+cr8zAE+xcW1ca7q8inQ7qwKJMA=";
hash = "sha256-+BWGkUDKd+9QGbdXuLjmJxLm1xUv0dpIRlPlDkUJ25w=";
};
build-system = with python3Packages; [ setuptools ];

View File

@@ -1,69 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
python3Packages,
...
}:
python3Packages.buildPythonPackage rec {
pname = "python-roborock";
version = "4.17.2";
pyproject = true;
disabled = python3Packages.pythonOlder "3.11";
src = fetchFromGitHub {
owner = "humbertogontijo";
repo = "python-roborock";
tag = "v${version}";
hash = "sha256-u4By7GmCvFrAnVVkFeoJCRX3Pey3Z3OF6uM+u9RTi7E=";
};
pythonRelaxDeps = [
"aiomqtt"
"pycryptodome"
];
build-system = with python3Packages; [
poetry-core
hatchling
];
dependencies =
with python3Packages;
[
aiohttp
aiomqtt
async-timeout
click
click-shell
construct
dacite
paho-mqtt
pycryptodome
pyrate-limiter
vacuum-map-parser-roborock
pyshark
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ pycryptodomex ];
nativeCheckInputs = with python3Packages; [
aioresponses
freezegun
pytest-asyncio
pytestCheckHook
syrupy
];
pythonImportsCheck = [ "roborock" ];
meta = with lib; {
description = "Python library & console tool for controlling Roborock vacuum";
homepage = "https://github.com/humbertogontijo/python-roborock";
changelog = "https://github.com/humbertogontijo/python-roborock/blob/${src.tag}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "roborock";
};
}