1{ lib 2, authlib 3, buildPythonPackage 4, fetchFromGitHub 5, httpx 6, pytest-asyncio 7, pytestCheckHook 8, pythonOlder 9, pytz 10}: 11 12buildPythonPackage rec { 13 pname = "pylitterbot"; 14 version = "2021.11.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchFromGitHub { 20 owner = "natekspencer"; 21 repo = pname; 22 rev = version; 23 sha256 = "sha256-HdIxi6RfdXBYEYFEcv/f9wAqKZg/MsEZd6mDYwE45to="; 24 }; 25 26 propagatedBuildInputs = [ 27 authlib 28 httpx 29 pytz 30 ]; 31 32 checkInputs = [ 33 pytest-asyncio 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ 38 "pylitterbot" 39 ]; 40 41 meta = with lib; { 42 description = "Python package for controlling a Litter-Robot"; 43 homepage = "https://github.com/natekspencer/pylitterbot"; 44 license = with licenses; [ mit ]; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}