python3Packages.garminconnect-ha: add format

This commit is contained in:
Fabian Affolter 2022-02-05 23:39:52 +01:00 committed by Jonathan Ringer
parent 4d99d0694d
commit 412a82d048

View File

@ -2,12 +2,16 @@
, buildPythonPackage
, cloudscraper
, fetchFromGitHub
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "garminconnect-ha";
version = "0.1.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "cyberjunky";
@ -21,13 +25,15 @@ buildPythonPackage rec {
requests
];
# Project has no tests
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "garminconnect_ha" ];
pythonImportsCheck = [
"garminconnect_ha"
];
meta = with lib; {
description = "Minimal Garmin Connect Python 3 API wrapper for Home Assistant";
description = "Garmin Connect Python API wrapper for Home Assistant";
homepage = "https://github.com/cyberjunky/python-garminconnect-ha";
license = licenses.mit;
maintainers = with maintainers; [ fab ];