at master 826 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "life360"; 12 version = "7.0.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "pnbruckner"; 19 repo = "life360"; 20 tag = "v${version}"; 21 hash = "sha256-GkCs479lXcnCvb5guxyc+ZuZdiH4n8uD2VbkC+yijgg="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ aiohttp ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "life360" ]; 32 33 meta = with lib; { 34 description = "Module to interact with Life360"; 35 homepage = "https://github.com/pnbruckner/life360"; 36 changelog = "https://github.com/pnbruckner/life360/releases/tag/v${version}"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}