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