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