1{ lib 2, buildPythonPackage 3, cloudscraper 4, fetchFromGitHub 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "garminconnect-ha"; 10 version = "0.1.13"; 11 12 src = fetchFromGitHub { 13 owner = "cyberjunky"; 14 repo = "python-garminconnect-ha"; 15 rev = version; 16 sha256 = "sha256-1O1EcG5FvpwUvI8rwcdlQLzEEStyFAwvmkaL97u6hZ4="; 17 }; 18 19 propagatedBuildInputs = [ 20 cloudscraper 21 requests 22 ]; 23 24 # Project has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "garminconnect_ha" ]; 28 29 meta = with lib; { 30 description = "Minimal Garmin Connect Python 3 API wrapper for Home Assistant"; 31 homepage = "https://github.com/cyberjunky/python-garminconnect-ha"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}