Merge pull request #126067 from fabaff/garminconnect-aio

This commit is contained in:
Sandro 2021-06-15 03:29:48 +02:00 committed by GitHub
commit 4cdf6dfbd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,37 @@
{ lib
, aiohttp
, brotlipy
, buildPythonPackage
, fetchFromGitHub
, yarl
}:
buildPythonPackage rec {
pname = "garminconnect-aio";
version = "0.1.4";
src = fetchFromGitHub {
owner = "cyberjunky";
repo = "python-garminconnect-aio";
rev = version;
sha256 = "0s2gpy5hciv9akqqhxy0d2ywp6jp9mmdngx34q7fq3xn668kcrhr";
};
propagatedBuildInputs = [
aiohttp
brotlipy
yarl
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "garminconnect_aio" ];
meta = with lib; {
description = "Python module to interact with Garmin Connect";
homepage = "https://github.com/cyberjunky/python-garminconnect-aio";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -293,7 +293,7 @@
"futurenow" = ps: with ps; [ pyfnip ];
"garadget" = ps: with ps; [ ];
"garages_amsterdam" = ps: with ps; [ garages-amsterdam ];
"garmin_connect" = ps: with ps; [ ]; # missing inputs: garminconnect_aio
"garmin_connect" = ps: with ps; [ garminconnect-aio ];
"gc100" = ps: with ps; [ ]; # missing inputs: python-gc100
"gdacs" = ps: with ps; [ aio-georss-gdacs ];
"generic" = ps: with ps; [ ];

View file

@ -387,6 +387,7 @@ in with py.pkgs; buildPythonApplication rec {
"fritzbox"
"fritzbox_callmonitor"
"frontend"
"garmin_connect"
"generic"
"generic_thermostat"
"geo_json_events"

View file

@ -2702,6 +2702,8 @@ in {
pythonPackages = self;
});
garminconnect-aio = callPackage ../development/python-modules/garminconnect-aio { };
gast = callPackage ../development/python-modules/gast { };
garages-amsterdam = callPackage ../development/python-modules/garages-amsterdam { };