1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "life360"; 12 version = "6.0.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "pnbruckner"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-USqSkjOHlH0K/RlRYpn/gz6dHW8/uEVpsc4HeUZ3Emg="; 22 }; 23 24 propagatedBuildInputs = [ aiohttp ]; 25 26 # Project has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "life360" ]; 30 31 meta = with lib; { 32 description = "Python module to interact with Life360"; 33 homepage = "https://github.com/pnbruckner/life360"; 34 changelog = "https://github.com/pnbruckner/life360/releases/tag/v${version}"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}