1{ lib 2, aiohttp 3, buildPythonPackage 4, faker 5, fetchFromGitHub 6, pytest-aiohttp 7, pytest-mock 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "aiolookin"; 14 version = "0.0.4"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "ANMalko"; 21 repo = pname; 22 rev = "v${version}"; 23 sha256 = "sha256-Kqys76c/9Mw3ETgF0N4rA9mz5DELwTMjAK38PPN8Ahs="; 24 }; 25 26 propagatedBuildInputs = [ 27 aiohttp 28 ]; 29 30 checkInputs = [ 31 faker 32 pytest-aiohttp 33 pytest-mock 34 pytestCheckHook 35 ]; 36 37 disabledTests = [ 38 # Not all tests are ready yet 39 "test_successful" 40 ]; 41 42 pythonImportsCheck = [ 43 "aiolookin" 44 ]; 45 46 meta = with lib; { 47 description = "Python client for interacting with LOOKin devices"; 48 homepage = "https://github.com/ANMalko/aiolookin"; 49 license = with licenses; [ mit ]; 50 maintainers = with maintainers; [ fab ]; 51 }; 52}