mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-30 04:04:53 +00:00
43 lines
826 B
Nix
43 lines
826 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
brotlipy,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
yarl,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "garminconnect-aio";
|
|
version = "0.1.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cyberjunky";
|
|
repo = "python-garminconnect-aio";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-GWY2kTG2D+wOJqM/22pNV5rLvWjAd4jxVGlHBou/T2g=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
brotlipy
|
|
yarl
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "garminconnect_aio" ];
|
|
|
|
meta = {
|
|
description = "Python module to interact with Garmin Connect";
|
|
homepage = "https://github.com/cyberjunky/python-garminconnect-aio";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|