Merge pull request #126067 from fabaff/garminconnect-aio
This commit is contained in:
commit
4cdf6dfbd8
@ -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 ];
|
||||
};
|
||||
}
|
@ -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; [ ];
|
||||
|
@ -387,6 +387,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"fritzbox"
|
||||
"fritzbox_callmonitor"
|
||||
"frontend"
|
||||
"garmin_connect"
|
||||
"generic"
|
||||
"generic_thermostat"
|
||||
"geo_json_events"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user