Merge pull request #302868 from r-ryantm/auto-update/python312Packages.python-roborock
python312Packages.python-roborock: 0.41.0 -> 1.0.0
This commit is contained in:
commit
c4e5d31596
|
@ -1,25 +1,26 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, construct
|
||||
, dacite
|
||||
, fetchFromGitHub
|
||||
, paho-mqtt
|
||||
, poetry-core
|
||||
, pycryptodome
|
||||
, pycryptodomex
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
construct,
|
||||
dacite,
|
||||
fetchFromGitHub,
|
||||
paho-mqtt,
|
||||
poetry-core,
|
||||
pycryptodome,
|
||||
pycryptodomex,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-roborock";
|
||||
version = "0.41.0";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
@ -28,7 +29,7 @@ buildPythonPackage rec {
|
|||
owner = "humbertogontijo";
|
||||
repo = "python-roborock";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Kh7u1UWqmfmxY6yWaBaUpe20Xc/DTryoymKgIYg/kiM=";
|
||||
hash = "sha256-izstUq7ICFNJ9v8+uB7JeMuzmOazP22As5VKDinXemU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -36,14 +37,11 @@ buildPythonPackage rec {
|
|||
--replace "poetry-core==1.8.0" "poetry-core"
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pycryptodome"
|
||||
];
|
||||
pythonRelaxDeps = [ "pycryptodome" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -53,25 +51,21 @@ buildPythonPackage rec {
|
|||
dacite
|
||||
paho-mqtt
|
||||
pycryptodome
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
pycryptodomex
|
||||
];
|
||||
] ++ lib.optionals stdenv.isDarwin [ pycryptodomex ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"roborock"
|
||||
];
|
||||
pythonImportsCheck = [ "roborock" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library & console tool for controlling Roborock vacuum";
|
||||
mainProgram = "roborock";
|
||||
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 ];
|
||||
mainProgram = "roborock";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue