1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5, aiohttp 6, python-slugify 7, pytz 8, aresponses 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "logi-circle"; 14 version = "0.2.3"; 15 16 disabled = pythonOlder "3.6"; 17 18 format = "setuptools"; 19 20 src = fetchFromGitHub { 21 owner = "evanjd"; 22 repo = "python-logi-circle"; 23 rev = "v${version}"; 24 hash = "sha256-Q+uoaimJjn6MiO3jXGYyZ6cS0tqI06Azkq1QbNq2FN8="; 25 }; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 python-slugify 30 pytz 31 ]; 32 33 checkInputs = [ 34 aresponses 35 pytestCheckHook 36 ]; 37 38 pythonImportsCheck = [ "logi_circle" ]; 39 40 meta = { 41 description = "A Python library to communicate with Logi Circle cameras"; 42 homepage = "https://github.com/evanjd/python-logi-circle"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ dotlambda ]; 45 }; 46}