diff --git a/pkgs/development/python-modules/garminconnect-aio/default.nix b/pkgs/development/python-modules/garminconnect-aio/default.nix new file mode 100644 index 000000000000..bb754118e077 --- /dev/null +++ b/pkgs/development/python-modules/garminconnect-aio/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e4e072dce936..20ab9697137a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2686,6 +2686,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 { };