fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
42 lines
821 B
Nix
42 lines
821 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
brotlipy,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
yarl,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "garminconnect-aio";
|
|
version = "0.1.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cyberjunky";
|
|
repo = "python-garminconnect-aio";
|
|
rev = version;
|
|
hash = "sha256-GWY2kTG2D+wOJqM/22pNV5rLvWjAd4jxVGlHBou/T2g=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|