python3Packages.pylitterbot: 2022.7.0 -> 2022.8.2

This commit is contained in:
Fabian Affolter 2022-08-07 12:53:29 +02:00 committed by Martin Weinelt
parent b4ef202c33
commit d67d5e4281

View File

@ -1,45 +1,58 @@
{ lib
, authlib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, httpx
, pytest-asyncio
, poetry-core
, pyjwt
, pytest-aiohttp
, pytest-freezegun
, pytestCheckHook
, pythonOlder
, pytz
, deepdiff
}:
buildPythonPackage rec {
pname = "pylitterbot";
version = "2022.7.0";
format = "setuptools";
version = "2022.8.2";
format = "pyproject";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "natekspencer";
repo = pname;
rev = version;
sha256 = "sha256-iniSlsZVWdDuwM/6asX4xyVrtrQvt7wEBwDVutjCogU=";
rev = "refs/tags/${version}";
hash = "sha256-TfPixJr5CmEUZHSg8VLlmRZbF53F95DTVuiCgJ8dTcE=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
authlib
httpx
pytz
aiohttp
deepdiff
pyjwt
];
checkInputs = [
pytest-asyncio
aioresponses
pytest-aiohttp
pytest-freezegun
pytestCheckHook
];
pytestFlagsArray = [
"--asyncio-mode=legacy"
];
pythonImportsCheck = [
"pylitterbot"
];
meta = with lib; {
description = "Python package for controlling a Litter-Robot";
description = "Modulefor controlling a Litter-Robot";
homepage = "https://github.com/natekspencer/pylitterbot";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];