3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.garminconnect-ha: init at 0.1.6

This commit is contained in:
Martin Weinelt 2021-06-15 21:09:06 +02:00
parent ff06400b7d
commit fa7c441c33
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "garminconnect-ha";
version = "0.1.6";
src = fetchFromGitHub {
owner = "cyberjunky";
repo = "python-garminconnect-ha";
rev = version;
sha256 = "0ngas6zikhpja1cdkq64m9pjm4b0z3qaj9g3x88mggy60jsxm1d7";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "garminconnect_ha" ];
meta = with lib; {
description = "Minimal Garmin Connect Python 3 API wrapper for Home Assistant";
homepage = "https://github.com/cyberjunky/python-garminconnect-ha";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2706,6 +2706,8 @@ in {
garminconnect-aio = callPackage ../development/python-modules/garminconnect-aio { };
garminconnect-ha = callPackage ../development/python-modules/garminconnect-ha { };
gast = callPackage ../development/python-modules/gast { };
garages-amsterdam = callPackage ../development/python-modules/garages-amsterdam { };