1{ lib
2, aiohttp
3, brotlipy
4, buildPythonPackage
5, fetchFromGitHub
6, pythonOlder
7, yarl
8}:
9
10buildPythonPackage rec {
11 pname = "garminconnect-aio";
12 version = "0.1.4";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchFromGitHub {
18 owner = "cyberjunky";
19 repo = "python-garminconnect-aio";
20 rev = version;
21 hash = "sha256-GWY2kTG2D+wOJqM/22pNV5rLvWjAd4jxVGlHBou/T2g=";
22 };
23
24 propagatedBuildInputs = [
25 aiohttp
26 brotlipy
27 yarl
28 ];
29
30 # Project has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [
34 "garminconnect_aio"
35 ];
36
37 meta = with lib; {
38 description = "Python module to interact with Garmin Connect";
39 homepage = "https://github.com/cyberjunky/python-garminconnect-aio";
40 license = licenses.mit;
41 maintainers = with maintainers; [ fab ];
42 };
43}