Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, stdenv, aiohttp, async-timeout, buildPythonPackage, click, construct, dacite, fetchFromGitHub, paho-mqtt, poetry-core, pycryptodome, pycryptodomex, pytest-asyncio, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "python-roborock"; version = "0.23.6"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "humbertogontijo"; repo = "python-roborock"; rev = "refs/tags/v${version}"; hash = "sha256-5WgCVdmEhFrKYT7Uflnjv6OIISk//VH2aoxVwlWuPTk="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiohttp async-timeout click construct dacite paho-mqtt pycryptodome ] ++ lib.optionals stdenv.isDarwin [ pycryptodomex ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
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/v${version}/CHANGELOG.md"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; };}