Merge pull request #302868 from r-ryantm/auto-update/python312Packages.python-roborock

python312Packages.python-roborock: 0.41.0 -> 1.0.0

authored by Fabian Affolter and committed by GitHub c4e5d315 1bf1a723

+27 -33
+27 -33
pkgs/development/python-modules/python-roborock/default.nix
··· 1 - { lib 2 - , stdenv 3 - , aiohttp 4 - , async-timeout 5 - , buildPythonPackage 6 - , click 7 - , construct 8 - , dacite 9 - , fetchFromGitHub 10 - , paho-mqtt 11 - , poetry-core 12 - , pycryptodome 13 - , pycryptodomex 14 - , pytest-asyncio 15 - , pytestCheckHook 16 - , pythonOlder 17 - , pythonRelaxDepsHook 1 + { 2 + lib, 3 + stdenv, 4 + aiohttp, 5 + async-timeout, 6 + buildPythonPackage, 7 + click, 8 + construct, 9 + dacite, 10 + fetchFromGitHub, 11 + paho-mqtt, 12 + poetry-core, 13 + pycryptodome, 14 + pycryptodomex, 15 + pytest-asyncio, 16 + pytestCheckHook, 17 + pythonOlder, 18 + pythonRelaxDepsHook, 18 19 }: 19 20 20 21 buildPythonPackage rec { 21 22 pname = "python-roborock"; 22 - version = "0.41.0"; 23 + version = "1.0.0"; 23 24 pyproject = true; 24 25 25 26 disabled = pythonOlder "3.10"; ··· 28 29 owner = "humbertogontijo"; 29 30 repo = "python-roborock"; 30 31 rev = "refs/tags/v${version}"; 31 - hash = "sha256-Kh7u1UWqmfmxY6yWaBaUpe20Xc/DTryoymKgIYg/kiM="; 32 + hash = "sha256-izstUq7ICFNJ9v8+uB7JeMuzmOazP22As5VKDinXemU="; 32 33 }; 33 34 34 35 postPatch = '' ··· 36 37 --replace "poetry-core==1.8.0" "poetry-core" 37 38 ''; 38 39 39 - pythonRelaxDeps = [ 40 - "pycryptodome" 41 - ]; 40 + pythonRelaxDeps = [ "pycryptodome" ]; 42 41 43 - nativeBuildInputs = [ 44 - poetry-core 45 - pythonRelaxDepsHook 46 - ]; 42 + build-system = [ poetry-core ]; 43 + 44 + nativeBuildInputs = [ pythonRelaxDepsHook ]; 47 45 48 46 propagatedBuildInputs = [ 49 47 aiohttp ··· 53 51 dacite 54 52 paho-mqtt 55 53 pycryptodome 56 - ] ++ lib.optionals stdenv.isDarwin [ 57 - pycryptodomex 58 - ]; 54 + ] ++ lib.optionals stdenv.isDarwin [ pycryptodomex ]; 59 55 60 56 nativeCheckInputs = [ 61 57 pytest-asyncio 62 58 pytestCheckHook 63 59 ]; 64 60 65 - pythonImportsCheck = [ 66 - "roborock" 67 - ]; 61 + pythonImportsCheck = [ "roborock" ]; 68 62 69 63 meta = with lib; { 70 64 description = "Python library & console tool for controlling Roborock vacuum"; 71 - mainProgram = "roborock"; 72 65 homepage = "https://github.com/humbertogontijo/python-roborock"; 73 66 changelog = "https://github.com/humbertogontijo/python-roborock/blob/v${version}/CHANGELOG.md"; 74 67 license = licenses.gpl3Only; 75 68 maintainers = with maintainers; [ fab ]; 69 + mainProgram = "roborock"; 76 70 }; 77 71 }