depot/third_party/nixpkgs/pkgs/development/python-modules/garminconnect-aio/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}