nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 brotlipy,
5 buildPythonPackage,
6 fetchFromGitHub,
7 yarl,
8}:
9
10buildPythonPackage rec {
11 pname = "garminconnect-aio";
12 version = "0.1.4";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "cyberjunky";
17 repo = "python-garminconnect-aio";
18 rev = version;
19 hash = "sha256-GWY2kTG2D+wOJqM/22pNV5rLvWjAd4jxVGlHBou/T2g=";
20 };
21
22 propagatedBuildInputs = [
23 aiohttp
24 brotlipy
25 yarl
26 ];
27
28 # Project has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "garminconnect_aio" ];
32
33 meta = {
34 description = "Python module to interact with Garmin Connect";
35 homepage = "https://github.com/cyberjunky/python-garminconnect-aio";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ fab ];
38 };
39}