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